Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Div flex instead of table for panes #1745

Open
vishnuc opened this issue Dec 1, 2024 · 2 comments
Open

Use Div flex instead of table for panes #1745

vishnuc opened this issue Dec 1, 2024 · 2 comments
Labels
needs investigation Needs further investigation.

Comments

@vishnuc
Copy link

vishnuc commented Dec 1, 2024

Hi , I see lighweight charts are using tables for panes , and original tradingview website are using div flex.

So when i create multiple charts and resizing tables are jumping and flickering ,..whereas original tradingview panes are fixed and steady to their parents.

So any possibility to consider this feature for next version ? Thanks

@SlicedSilver
Copy link
Contributor

It is likely the behaviour that you mentioned in #1746 is responsible for this 'flickering'. Could you perhaps share a video or code sample?

@vishnuc
Copy link
Author

vishnuc commented Dec 1, 2024

Yea I solved it by using chart.resize(width, height, 1); , applyoptions is exhibiting same behvaiour as chart.resize(width, height, 0); which cause too much flickering on panes...

@SlicedSilver SlicedSilver added the needs investigation Needs further investigation. label Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs investigation Needs further investigation.
Projects
None yet
Development

No branches or pull requests

2 participants