notebook
notebook copied to clipboard
Up- and down do not work in object editor
Steps to reproduce the behavior
- Go to https://www.notebook.ai/plan/characters/new
- Enter a name (or any other field) with a line break
- Try to use the up and down keys
I did not try out all forms below "Worldbuilding" but I assume that this issue affects all of them.
Expected behavior
The mouse cursor should mo up/down to the next line.
Actual behavior
It doesn't.
Woah, this is super weird. Will have to investigate why this is the case. Thanks for reporting.
Just did a short experiment and found something that may help (or make things even weirder ;) )
- Select name. Enter multi-line text. Up and down do not work.
- Press tab. Name loses focus, something else gets focus. Nothing is visually highlighted. According to a live expression used to track focus https://developers.google.com/web/tools/chrome-devtools/accessibility/focus in chrome console, pressing tab moves the focus to the auto-completion ul-element after a text field. However, the focus immediately switches to body without further interaction.
- Press up and down. The page scrolls.
- Press tab. Focus is now on role. Same behaviour as in step 1.
- Press Shift+Tab. Focus immediately switches back to name.
This tab behaviour is consistent for all fields in the new character form.
The auto-completion list also behaves unexpectedly:
- Select name. Press @; the auto-completion list appears.
- Press up and down. They work as expected within the list. The live expression for focus however still shows that the text field is focussed, not the list or its elements - despite them being highlighted.
Based on these two behaviours I suspect that the broken up/down within the text fields may be related to the auto-completion feature.
On Tue, 16 Mar 2021 at 21:59, Andrew Brown @.***> wrote:
Woah, this is super weird. Will have to investigate why this is the case. Thanks for reporting.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/indentlabs/notebook/issues/885#issuecomment-800600704, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAM6YFDA3AL7H6KSDHRI4GTTD7BELANCNFSM4YNQFMSQ .