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

fix: remove position fixed for input and textarea in tableeditor #2076

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

yohanboniface
Copy link
Member

@yohanboniface yohanboniface commented Aug 27, 2024

Otherwise when scrolling the table, the input will not appear at the expected position, and may even appear outside of the view when the table is bigger than the viewport.

Drawback: the table will resize its columns when the input/textarea is created (as block is in the flow). So I've also removed the width reset.

fix #2071

@yohanboniface yohanboniface changed the title fix: use position fixed for input and textarea in tableeditor fix: use position sticky for input and textarea in tableeditor Aug 29, 2024
Otherwise when scrolling the table, the input will not appear at
the expected position, and may even appear outside of the view when
the table is bigger than the viewport.

Drawback: the table will resize its columns when the input/textarea
is created (as position: sticky is in the flow). So I've also removed
the width reset.

fix #2071
@yohanboniface yohanboniface changed the title fix: use position sticky for input and textarea in tableeditor fix: remove position fixed for input and textarea in tableeditor Aug 29, 2024
@yohanboniface yohanboniface merged commit 3600149 into master Aug 30, 2024
4 checks passed
@yohanboniface yohanboniface deleted the table-input-position branch August 30, 2024 13:38
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

Successfully merging this pull request may close these issues.

Editing layer items' cells in a long list makes cell float away
2 participants