-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Inspect Popup exceeds window #11044
Comments
Hello @zaaakher. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with |
Please provide a reproduction. If RTL is the problem then you should be able to reproduce that way, thank you. |
My apologies @matthewp, here you go https://stackblitz.com/edit/github-5k1mkz?file=src%2Fpages%2Findex.astro |
Looks like rtl is messing with the positioning calculation |
@bluwy There is a check for right-side overflow, but not for left-side overflow. I'll open a PR adding one shortly. |
Astro Info
If this issue only occurs in one browser, which browser is a problem?
Chrome
Describe the Bug
When I try the inspect feature the popup exceeds the current window. I'm not sure if this happens because my site is RTL or not
(notice the scrollbar at the bottom is due to the popup)
What's the expected result?
It should stay within the window and pop to the left/right depending on conditional awareness of it's position
Link to Minimal Reproducible Example
n/a
Participation
The text was updated successfully, but these errors were encountered: