-
-
Notifications
You must be signed in to change notification settings - Fork 142
Text content area dims when formatter sheet is displayed. #238
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
Comments
You should be able to use the presentation detents to achieve this, as described here: https://danielsaidi.com/blog/2022/06/15/swiftui-4-custom-sheet-sizes I actually thought that this was already being applied. Can you check if this is possible? |
It does look like
But doesn't seem to be working for me. I tried adding it myself:
But this didn't seem to work. |
I sort of got something working with this:
I noticed when I did that the keyboard wouldn't go away, so I had to add the task there to dismiss the keyboard when the sheet appeared. But now when I do that, if I tap into the text area, it just brings the keyboard over top the sheet, but they kinda get merged together. It doesn't work well. I tested with the RichTextKit demo app and it behaves the same. iOS 18.4 |
Is there a way to prevent the text editor area from dimming when the formatting sheet is displayed on iOS? It's especially noticeable in dark mode. Note the difference in the yellow colour in the formatter vs. the yellow colour in the text above.
This is what it should look like (when the formatter has been dismissed):
The text was updated successfully, but these errors were encountered: