repldex / Repldex

https://repldex.com
MIT License
21 stars 11 forks source link

Fix input lag on new editor #186

Closed selectdev closed 2 years ago

selectdev commented 2 years ago

The editor is not configured properly towards mobile devices, which causes lag in input and can cause issues with syntax formatting (if we ever decide to add syntax formatting for Markdown).

selectdev commented 2 years ago

Will try to fix this issue in next commit

selectdev commented 2 years ago

Issue has somewhat been fixed, still causes big amounts of input lag on mobile devices. should be fixed by tomorrow morning if everything goes as planned.

selectdev commented 2 years ago

I have removed the Autocomplete extension from CodeMirror as it is never used and not supported with Markdown, and it has reduced the input lag by 400ms. I will be trying other methods to reduce input lag which should improve the user experience for all devices by 35%. I also plan to improve the design of the editor for all devices as a lot of syntax formatted Markdown code such as [name](url) does not mix well with the current color scheme.

selectdev commented 2 years ago

I don't feel like fixing this, so i am going to close this