Bug: CSS property scroll-padding
not working
#6016
Labels
contribution-week
Issues that are good to be picked up for the contribution week
good first issue
Good for newcomers
If I disable javascript and apply
scroll-padding
css to html it just works but when I enable javascript in playground, thescroll-padding
only works if the length of node text is greater then 1Lexical version: 0.14.5
Steps To Reproduce
From lexical documentation home page plain text example, just apply scroll padding to
html
instyle.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
The text was updated successfully, but these errors were encountered: