Created
November 4, 2025 00:56
-
-
Save KonnorRogers/24458ee5cfcd0c9383a2cb49025467f5 to your computer and use it in GitHub Desktop.
Apple Problem Code for keyboard scrolling: https://apps.apple.com/us/iphone/arcade
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const nb = [ | |
| 'ArrowDown', | |
| 'ArrowUp' | |
| ] | |
| class Xs { | |
| static windowKeyUpHandler(e) { | |
| nb.includes(e.key) && e.preventDefault() | |
| } | |
| } | |
| window.addEventListener('keydown', Xs.windowKeyUpHandler) | |
| // Who does this? Why Apple? | |
| // https://apps.apple.com/assets/index~BDdsLoyyey.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment