-
-
Notifications
You must be signed in to change notification settings - Fork 210
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
viewport element's width may bigger than scroll target #538
Comments
@boomler Good day! :) Thanks for the report - The temporary fix would be to apply |
@KingSora thanks for your quick reply! And I am wondering why we need additional |
@KingSora The key point is that you use By the way, I find that |
@boomler The
There are probably more, but I would say that are the most important ones.
@gavinxgu Thanks for the input! :) Could you elaborate why you think
@gavinxgu The problem here is that I don't really want to augment the
The content is not always larger by Please don't forget that you are looking at one usecase of many possible ones. Some of the calculations may seem pointless in that usecase but are key in a different one. In fact there are so many that I've an extensive suite of end to end tests which run about 10mins to verify the functionality of the plugin for the most common ones. (this would be a new case to add to those tests). |
@boomler I've published In case you (or @gavinxgu) have further questions please don't hesitate to ask (or to create a new issue / discussion) |
Describe the bug
viewport element's width may bigger than scroll target
To Reproduce
open sandbox: https://codesandbox.io/s/mystifying-sunset-37zn3p?file=/src/App.js
Expected behavior
expect
.os-viewport
's width to be 230expect text's ellipsis to be fully displayed.
What happened
.os-viewport
's width is 260The text was updated successfully, but these errors were encountered: