pagefaultgames / pokerogue

A browser based Pokémon fangame heavily inspired by the roguelite genre.
https://pokerogue.net
GNU Affero General Public License v3.0
4.43k stars 1.79k forks source link

[Bug] Keyboard press is repeated after letting go of the key #4279

Open podarsmarty opened 1 month ago

podarsmarty commented 1 month ago

Describe the bug

On a mac when pressing a key with the meta key held, that key will be repeatedly input until the user presses it again.

This can be reproduced by pressing command + shift + arrow/m on the title screen.

discord bug report: https://discord.com/channels/1125469663833370665/1285106638528974869

Expected behavior

Input should be be repeated. With modifiers held, input prob shouldn't be triggered in the first place

What OS did you observe the bug on?

Mac/OSX

Which browser do you use?

Firefox

flx-sta commented 1 month ago

duplicate of #1288

DayKev commented 3 days ago

It seems like this is a Mac-specific issue, Windows doesn't have a "meta" key and #1288 doesn't mention anything about extra keys being involved.