-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
The blinking cursor in the Fleather editor is causing severe heating of the phone. #394
Comments
Hi @guoz2013 . Thanks for reporting the issue. |
@Amir-P I tried removing the entire painting of the cursor (removing any calls to |
@guoz2013 can you please try with? fleather:
git:
url: https://github.com/fleather-editor/fleather
ref: fix/cursor_blink_gpu_intensive
path: packages/fleather Note that there is a bug with the floating cursor, that I'm working on Update: Fixed the floating cursor issue |
@amantoux Thank you very much for the prompt update. I tried the new branch, but the issue seems to persist. |
@guoz2013 are you still using an empty editor? are you sure you are using the branch? |
@amantoux Apologies, it was due to a cache issue. I created a new project and everything is back to normal now. Thank you very much. |
@amantoux I've found that if I open the editor from a bottom sheet, the issue resurfaces, causing the cursor to flicker and leading to infinite rebuilding of both the home view and the Editor Page. I'm not sure if this is an issue with the bottom sheet itself. code:
|
@guoz2013 you seem to be in debug mode, if it is the case, it is normal that the app consumes more resources |
@amantoux I tried it in profile mode, and the energy consumption returned to normal, thank you very much. |
I've noticed that when the editor cursor is blinking, it causes significant heating of the phone. If the editor loses focus, the phone's energy consumption returns to normal. In XCode, the increase in energy consumption is quite noticeable. I'm not sure what the cause is, as I've only used the simplest example without any additional features.
Steps to Reproduce
Just use the simplest example.
Environment
The text was updated successfully, but these errors were encountered: