-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Bug: CSS property scroll-padding not working #6016
Copy link
Copy link
Closed
Labels
contribution-weekIssues that are good to be picked up for the contribution weekIssues that are good to be picked up for the contribution weekgood first issueGood for newcomersGood for newcomers
Description
If I disable javascript and apply scroll-padding css to html it just works but when I enable javascript in playground, the scroll-padding only works if the length of node text is greater then 1
Lexical version: 0.14.5
Steps To Reproduce
From lexical documentation home page plain text example, just apply scroll padding to html in style.css
Link to code example: https://stackblitz.com/edit/facebook-lexical-znjtmx
The current behavior (With JavaScript enabled)
Screen.Recording.2024-05-03.at.6.50.48.AM.mov
The expected behavior (without javascript)
Screen.Recording.2024-05-03.at.6.51.45.AM.mov
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
contribution-weekIssues that are good to be picked up for the contribution weekIssues that are good to be picked up for the contribution weekgood first issueGood for newcomersGood for newcomers