-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Usability issues with vomnibar in iframe (post-1.46 only) #1361
Comments
Easy fix:
|
This just happened again. Definitely no keyboard fumble this time. (Could still be unrelated to vomnibar in iframe.) |
I just did a side-by-side comparison on Google Plus after scrolling down for two reloads. There's a significant difference in the vomnibar load speed between |
I'm concerned about the weight of preloading the vomnibar iframe in every frame, especially when we have lot (eg. Google inbox). Since the vomnibar only acts on the whole tab, it makes sense to only preload it for the top frame in nearly all cases. For top-level My current idea for resolving this is:
This seems really inelegant, especially for an edge-case for a depreciated tag. Do you have any ideas for how to improve the situation @smblot-github? |
Interesting idea, but quite complicated. I'd say take it one step at a time. Suggest:
Only then would I worry about optimisation. The common case is just one frame, or perhaps a couple. There may be nothing to worry about in these cases. In other cases (like inbox and gmail), we may get away with just not preloading the vomnibar in frames which are too small to show it anyway (e.g., frames need a certain width and height for it to be usable at all - you can't use the vomnibar in a 10x10 frame, and it may not be that useful in a 10x100 frame, or 100x10). |
Now I'm leaning more towards using |
I've pushed PR #1382 to fix this. |
Closing. |
In
post-1.46
, the vomnibar is in an iframe (see #1214 and #1139). Using this for everyday browsing, I've found:Any ideas as to how this might be improved, @mrmr1993?
Probably not related, but I'll mention anyway:
(This does not affect
master
or1.49
.)The text was updated successfully, but these errors were encountered: