Draft
Conversation
Improve visual focus indication on MainLayout content and PdfBlock editor.
|
🚀 Preview will be available at https://1774-docs.ppr-docs.beta.numerique.gouv.fr/ You can use the existing account with these credentials:
You can also create a new account if you want to. Once this Pull Request is merged, the preview will be destroyed. |
|
Size Change: +677 B (+0.02%) Total Size: 4.16 MB
|
2cee39e to
e4ff954
Compare
On mobile devices, the mobile toolbar is often positioned above the Blocknote toolbar, making it hard to access. This commit adjusts the toolbar position to the bottom of the screen for better accessibility when using mobile devices.
We rely on the size of the screen to determine if we are on a touch device, but this is not always accurate, for example on laptops when we resize the window to a smaller size, it could be misinterpreted as a touch device. To improve this, we add detection for touch input so we can more accurately determine if the user is using touch or mouse input.
e4ff954 to
64ce2d4
Compare
Collaborator
Author
|
|
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Purpose
On mobile devices, the mobile toolbar is often positioned above the Blocknote toolbar, making it hard to access.
This commit adjusts the toolbar position to the bottom of the screen for better accessibility when using mobile devices.
Demo
Enregistrement.2026-01-07.112305.mp4