Editing css on android app causes crash.
Problem description
Adding a dash to css line causes the line to be erased. Pasting with a dash can cause android app to crash.
https://drive.google.com/file/d/1L4lpjpjTvAea_AvdOyNrakVW_uCCdz3o/view?usp=drivesdk
Steps to reproduce
Using the supplied c3p: Edit css file. Place cursor end of comment line Press return If cursor is all the way to the left you simetimes can type font- with no issues. If the cursor is indented typing font- will erase the line. If cursor is indented pasting font-size often crashes the app.
Manually create conditions
- Create new project
- Add css file
- Add a class i.e.
- .myclass {
-
/* comment */ - }
- place cursor at end of comment.
- press return to add a new line
- try to type font-size
- if succeeds, try indenting and typing font-size
- should erase line
- try pasting orher css. Will either erase or crash.
Observed result
Typing font- in the css will erase that line. Pasting font-size will often cause the app to crash.
Expected result
Not crash.
More details
Affected browsers/platforms:
First affected release:
System details
Your link is closed.
Your link is closed.
Found the real problem I think. Edited and new c3p uploaded. Should be available. Let me know if it isnt
This error was found as a result of using chat gpt to create the css which comments heavily.
After I press Enter I will not be able to type characters. I print and they get erased.
Tested in desktop client. Works as expected.
Spent a while looking in to this and just could not figure anything out at all unfortunately. I've no idea whether this is a browser bug, CodeMirror bug, or Construct bug, and I'm not sure what to do to further investigate at this point.