Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×

Alt/Option key prevents entering language-specific characters, in the text fields in the game (apple, macOs)

Hi,  I'm unable to write any polish national characters (those are written by pressing Alt+l = "ł" or substitute l with any of (a,e,o,s,c,n,z,x) in the game dialogs such as chat/bio edition/search of assets. I debugged it and the problem is that the site is intercepting "Alt" presses to prevent "default" behaviour. This is the only site that I have ever problem with polish characters.  This is output from my keylogger that I added in the devtools: " const Oe = Z => {                     Z.altKey && Z.preventDefault(),                     (0, ss.Ek)("alt", Z.altKey),                     (0, ss.Ek)("ctrl", Z.ctrlKey || Z.metaKey),                     (0, ss.Ek)("shift", Z.shiftKey) }"  I attach Claude Code analysis of the issue and suggestion how to fix it. javascript Z => { Z . altKey && Z . preventDefault ( ) , // if Alt is held, block default browser behavior (= blocks ł, ó, etc.) ( 0 , ss . Ek ) ( "alt" , Z . altKey ) , // update global state: is Alt pressed? ( 0 , ss . Ek ) ( "ctrl" , Z . ctrlKey || Z . metaKey ) , // same for Ctrl ( 0 , ss . Ek ) ( "shift" , Z . shiftKey ) // same for Shift } This is a modifier key tracker – Roll20 uses it to know in real time whether Alt/Ctrl/Shift are held down (e.g. for precise token movement on the map). The bug is that preventDefault() is called unconditionally – it should first check if the current focus is on a text field, like: javascript if ( Z . altKey && ! isTextInput ( document . activeElement ) ) { Z . preventDefault ( ) ; } But Roll20 didn't do that, so it breaks Polish (and other non-English) keyboards globally.
It might be good to file a bug report (use the bug-shaped button in-game at the bottom of the right-hand My Settings column) as that will do straight to Roll20, and posts here are mostly for community help.
1789682273
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
I have done what I can to bring this to the attention of the devs. A  Help Center Request  would be a good idea to impress upon them the need for this.
keithcurtis said: I have done what I can to bring this to the attention of the devs. A  Help Center Request  would be a good idea to impress upon them the need for this. Done, thanks for you attention