-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Describe the bug
when creating a new text box, you have to click on the text box to be able to type, delete, select, etc.
To reproduce
Steps to reproduce the behavior:
- create a text box
- try typing or using cmd+A or ctrl+A - the typing doesn't work
- click on the text box again - now the typing works
Expected behavior
text box is immediately editable without manually focusing it
Screenshots
If applicable, add screenshots to help explain your problem.
Editor version
Is this bug reproducible in Wick Editor 1.19.3/1.19.4 or only Candlestick?
only candlestick, but also only the browser version. though, the desktop one has... its own problems.
Device
- macbook air m4, chromium browser
- windows 10, chrome
Do you have a suggested solution to this issue? (ex. has another program fixed this bug a certain way? Are you familiar with where in the code base someone would need to fix this issue?)
i tried this on a very old branch and the issue was gone, which means we messed something up (which, i guess is a good thing?)
this is the commit where the issue first arises: 879f180
- it is somewhere in View.Project.js, where the bulk of the mobile gesture code lives. the changes in Tool.js and the gestureActive() function in View.Project.js do not seem to be part of the problem.
Additional context
https://discord.com/channels/1406876763920797717/1406888260591947867/1443037923518844978