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

Scrolling resets when the markup changes #237

Open
lenski88 opened this issue Sep 25, 2024 · 2 comments
Open

Scrolling resets when the markup changes #237

lenski88 opened this issue Sep 25, 2024 · 2 comments

Comments

@lenski88
Copy link

lenski88 commented Sep 25, 2024

If you drag tabs, neighboring tabs may lose the scroll value. This can be seen in the examples. For example, here The jsx tab has scrolling, and if you move a new tab to it, creating two panels, the scrolling will reset, or if you move the jsx tab itself to another place in the markup

@rinick
Copy link
Member

rinick commented Sep 28, 2024

have you tried cached tab?
https://ticlo.github.io/rc-dock/examples/#tab-cache

@lenski88
Copy link
Author

Yes, I tried. are you saying that jsxTab is not cached in your examples? I had a problem with the scroll reset when resizing the size of the panels. The cached property was set to true, but the problem was that it generated a new id for the tab every time. Do you think there's still this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants