Skip to content

Fix inventory gesture enter key focus - #548

Open
danielzgtg wants to merge 1 commit into
leanprover-community:mainfrom
danielzgtg:fix/isSuggestionsMobileMode
Open

Fix inventory gesture enter key focus#548
danielzgtg wants to merge 1 commit into
leanprover-community:mainfrom
danielzgtg:fix/isSuggestionsMobileMode

Conversation

@danielzgtg

Copy link
Copy Markdown
Contributor
  • Finish deleting !isSuggestionsMobileMode && !shiftKey from context.ts and preferences-atoms.ts
  • Restore previous touchscreen detection in typewriter.tsx. isSuggestionsMobileMode focuses the textbox on desktop to let Enter submit the line, not cause another inventory gesture. On mobile, don't, to avoid bringing up the on-screen keyboard

- Finish deleting `!isSuggestionsMobileMode && !shiftKey` from
  `context.ts` and `preferences-atoms.ts`
- Restore previous touchscreen detection in `typewriter.tsx`.
  `isSuggestionsMobileMode` focuses the textbox on desktop to let Enter
  submit the line, not cause another inventory gesture. On mobile, don't,
  to avoid bringing up the on-screen keyboard
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.

1 participant