Skip to content

Conversation

Evilur
Copy link
Contributor

@Evilur Evilur commented Jun 14, 2025

Closes #2304

  • The hints host get the height and the width of the visible user's viewport (instead of the only height before that)
  • Width and height are now taken without considering the scrollbar and without floating point values
  • You can mouse click through the hints host (pointer-events: none)

Closes brookhong#2304
- Now the hints host get the height and the width of the visible
user's viewport (instead of the only height before that)
- Width and height are now taken without considering the scrollbar
and without floating point values.

Isues: brookhong#2304, brookhong#2294
@brookhong
Copy link
Owner

Is it possible to add a simple page to reproduce the issue you're trying to fix into the folder https://github.com/brookhong/Surfingkeys/tree/master/tests/data?

I just got an idea to maintain the test data set so that we can avoid regression in future. The test file should be named <simple_description>-<related_issue>.html, such as wide-page-2294.html.

@Evilur Evilur changed the title Fix: overflow-x hints behaviour (#2304) Fix: Overflow hints behaviour (#2304) Jun 14, 2025
@Evilur
Copy link
Contributor Author

Evilur commented Jun 14, 2025

I didn't fully understand what was required of me, since such a test had already been written. So I added a test for ‘Overflow-Y’ (dd89b78): Overflow-Y Examples

@Evilur
Copy link
Contributor Author

Evilur commented Jun 14, 2025

Default behaviour

image

With fix

image

@brookhong brookhong merged commit 9f63c95 into brookhong:master Jun 15, 2025
0 of 2 checks passed
@Evilur Evilur deleted the hints-overflow branch June 15, 2025 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Commit 8e58167 breaks fix #2294 (#2295)
2 participants