-
-
Notifications
You must be signed in to change notification settings - Fork 537
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
simplebar-placeholder is increasing width infinitely in Mobile #242
Comments
Hi, |
I had a deeper look at this and the solution is not an easy one. |
Thank you. |
I have the same bug with infinite 'width', when I used
Infinite width appears only in the mobile view (when the user-agent changes for mobile devices) and in MacOs browsers. I see errors in the console "resizeobserver loop limit exceeded". |
Guys, I just released simplebar@4.0.0-alpha.0 that would be awesome if you could let me know if this is still happening with the new version. |
I have trying with simplebar@4.0.0-alpha.0, but problem is still continuing. |
Ok thanks. It happens only when the scrollbar is floating. Got it. |
I'm releasing |
All right, now the problem is solved. |
Current Behavior
When I loading pages in Mobile environment(Same affected in responsive mode at Developer tools), .simplebar-placeholder width is increasing infinitely.
Reproducible example
I couldn't reproduce this behavior.
Current simplebar layouts:
There has two simplebar elements Each is wrapped in a flex wrapper, and flex is set to 1 1 50%. and Inside has table.
Here is a simple summary:
div(display: flex) > section(flex: 1 1 50%)*2 > div(data-simplebar) > table(width: 100%)
Additional context
This is recorded function calling. which is repeating a pattern similar to the above.
Your environment
The text was updated successfully, but these errors were encountered: