-
-
Notifications
You must be signed in to change notification settings - Fork 774
fix(core): Enter on Android and iOS, toolbar and side menu fixes on phones #3031
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Open
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
cc87b53
fix(core): handle Enter via beforeinput on Android (#3001)
YousefED 2d8b6ed
fix(core): also handle Enter delivered as a keypress on Android
YousefED bfbeba0
test: run the form suites on the android instance too
YousefED 995c76f
fix(test): the android instance now tests true phone geometry
YousefED 70d1e8d
Merge branch 'mobile/link-popover' into mobile/android-enter
YousefED 7fa47d7
Merge branch 'mobile/link-popover' into mobile/android-enter
YousefED a9b7ecb
Merge branch 'mobile/link-popover' into mobile/android-enter
YousefED 082212c
Merge branch 'mobile/link-popover' into mobile/android-enter
YousefED 6f4c457
Merge branch 'mobile/link-popover' into mobile/android-enter
YousefED 859c6cd
fix(core): only claim an Android Enter keypress a handler took
YousefED 4539ef6
Merge branch 'mobile/link-popover' into mobile/android-enter
YousefED a055479
Merge branch 'mobile/link-popover' into mobile/android-enter
YousefED 0752a75
Merge branch 'mobile/link-popover' into mobile/android-enter
YousefED 79ececf
Merge branch 'mobile/link-popover' into mobile/android-enter
YousefED 63a0b4d
Merge branch 'mobile/link-popover' into mobile/android-enter
YousefED 27108cc
fix(core): treat an IME newline commit as Enter on Android
YousefED 93a2852
test: plain comment on the IME newline case
YousefED b135fb3
fix(react): remove the viewport properties when the last publisher un…
YousefED 55dcfcd
test: the mobile toolbar's inputs are at least 16px
YousefED 7f9c42b
test: assert the overlap the ariakit z-index pin relies on; name the …
YousefED c0cee53
fix(core): hide the formatting toolbar when the user leaves the editor
YousefED 637fce0
fix(react): reset the keyboard baseline when the last viewport publis…
YousefED d07101c
fix(core): side menu ignores pointer moves over the editor's own UI
YousefED f382ccb
fix(core): ignore only Dark Reader's writes in node views
YousefED 1db3a92
Merge remote-tracking branch 'origin/fix/dark-reader-mutation-filter'…
YousefED 2ae0be2
refactor(core): drop the Android Enter interception
YousefED 7d71529
fix(core): keep prosemirror-view's default for node views without a c…
YousefED 7c28fa4
Merge remote-tracking branch 'origin/fix/dark-reader-mutation-filter'…
YousefED 9c2014f
Merge branch 'mobile/link-popover' into mobile/android-enter
YousefED 48f7a9f
test: iOS-emulated webkit instance for the mobile suites
YousefED 34056eb
test: name the cause of the touch-emulation loss
YousefED 0e5904d
test: drop the touch-emulation repro script
YousefED 86fa8e2
fix(react): the pinned scroll container lets pull-to-refresh through …
YousefED 54f7f5d
fix(react): keep the mobile toolbar on the keyboard on iOS Safari
YousefED 4718821
test(mobile): select typed link text with character steps, not Shift+…
YousefED e1ca278
test(mobile): say why Shift+Home is avoided, not who noticed
YousefED af0300e
Reverted fix for gap between virtual keyboard and formatting toolbar …
matthewlipski 2bb6a35
Merge branch 'mobile/link-popover' into mobile/android-enter
matthewlipski File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't love the complexity of what is happening here, but I take it that this fixes a bunch of bugs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree, but yes, added some workarounds in the latest iteration to fix bugs some bugs (mostly iOS).
Mostly to fix weird positioning when scrolling at the top (pull-to-refresh) / bottom ("rubber band")
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately looks like the bottom scroll behaviour on iOS is still not quite right. Before, we had an issue where there was a gap at the very bottom of the document between the formatting toolbar and keyboard. Now, we can't scroll to the bottom of the page at all, and trying to do so results in a lot of jerkiness. Both cases are only applicable when not using a
.bn-scroll-container.Before:
ScreenRecording_09-16-2026.12-59-30_1.MP4
After:
ScreenRecording_09-16-2026.12-57-08_1.MP4