atlas-engineer / nyxt

Nyxt - the hacker's browser.
https://nyxt-browser.com/
9.77k stars 409 forks source link

Ensure that hints are drawn within viewport #3250

Open aadcg opened 10 months ago

aadcg commented 10 months ago

While reviewing #3226, I noticed we don't provide this guarantee. In the example below, https://en.wikipedia.org/wiki/List_of_municipalities_in_Quebec has been zoomed as to have an element on the right edge.

2023_11_08_22:39:45-nyxt

aartaka commented 9 months ago

This is not the problem with hint system, it's a bug in foreign interface. So here's how it happens:

aartaka commented 9 months ago

Or we have two bugs 😃

aadcg commented 9 months ago

The discussion about zooming is orthogonal to the issue at hand, as demonstrated in the screenshot below at URL https://maximilian-schillinger.de/tmp/hint-test.html.

2023_11_30_15:52:02-nyxt

aartaka commented 9 months ago

The discussion about zooming is orthogonal to the issue at hand, as demonstrated in the screenshot below at URL

Okay, then it was right for me to open a separate issue.