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

Typing in URL bar causes website reflow flashing #244

Open
canadaduane opened this issue Jul 28, 2023 · 1 comment
Open

Typing in URL bar causes website reflow flashing #244

canadaduane opened this issue Jul 28, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@canadaduane
Copy link

When visiting a site such as https://code.thumby.us/, if I type something into the URL bar (e.g. "t") the website flashes for a moment as the autosuggest options push the website content down. It's particularly visible in complex rendering such as the "code blocks" area of the example site mentioned above:

image

It looks like there are at least 2 "frames" in the reflow flash, such that the 1st frame renders the website's new location with code blocks not quite fully rendered, then the 2nd frame renders with the code blocks fully rendered.

@RangerMauve RangerMauve added the bug Something isn't working label Aug 29, 2023
@RangerMauve
Copy link
Member

Yeah sadly that stems from the fact the web contents are a seperate "browserview" that gets rendered over the ui for the navbox. We'd need to split it to habe the search box in its own browserview, calculate it's default size and have it expand outside that but keep the main contents the same time and rendering below.

This would be a pretty big chunk of work so I'm not sure when I could do it. :x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants