Skip to content
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

Forum: try to fix a scroll behavior #1546

Open
smadbe opened this issue Nov 9, 2023 · 1 comment
Open

Forum: try to fix a scroll behavior #1546

smadbe opened this issue Nov 9, 2023 · 1 comment

Comments

@smadbe
Copy link
Contributor

smadbe commented Nov 9, 2023

Overview

Try to avoid this behavior:
https://github.com/France-ioi/AlgoreaFrontend/assets/1053150/bc299708-f250-45f9-afec-463350263d81

No scroll should happen when the cursor is already visible and stays visible after the change.

Fix that only if that does not require a lot of work.

@Iloveall
Copy link
Collaborator

Only I found solution is to turn textarea into https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/contenteditable

But it requires to create control component, implement disabled state, so a lot of work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants