-
Notifications
You must be signed in to change notification settings - Fork 49
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
Popup sizing issues #1314
Comments
Hi! Thanks for filing this.
Yep, that doesn't look right. What OS are you on? I can't reproduce this on Windows but it looks like you have thicker scrollbars so I guess that's why. If so, I think the solution is probably to set up a scrollbar gutter.
That part is deliberate. If we reset the popup size after you clicked cancel, your mouse might end up outside the popup causing the popup to disappear which would be annoying. We reset the popup size if it is pinned or if you're on a touch device since you don't need to worry about the popup disappearing in those cases.
That seems like a separate bug. I'm not sure why that's happening. |
I'm on Windows 10, I didn't think that would make much of a difference. But I do have the "Automatically hide scrollbars" system setting switched off, not sure if Firefox uses that here, but it might have an influence.
Ah, makes sense.
Yeah, but creating two issues seemed a bit excessive. :) |
Thanks. That seems to be it. With that setting applied and tabs turned off, I can reproduce it.
It's fine to split them out. I've filed this as #1315 for now but as I mentioned there, it might not be worth fixing this since it should be fixed once Firefox ships the Highlight API on all channels. |
Sometimes a vertical scrollbar appears in the collapsed view of the popup, but goes away in the expanded view. This messes with the line break position and the last line of the entry gets pushed down into the "fade-out" area, making it harder to read.
Example 餌やり
After clicking an entry, the expanded view is resized to fit the context menu, but upon clicking "Cancel", the size does not reset.
Also, the text highlight vanishes in this situation, but I feel it should probably be maintained?
I'm on Firefox 117 and extension version 1.15.1.
The text was updated successfully, but these errors were encountered: