Skip to content

CSS display: scroll seems to break data-augmented-ui divs #18

Answered by JaneOri
nathanoday asked this question in Q&A
Discussion options

You must be logged in to vote

Hey! So sorry I just saw this for the first time.

First, thank you very much for checking out augmented-ui, what you're doing with it looks awesome, I love seeing it

You normally wouldn't want the augmented element itself to scroll like that.. it would definitely cause some offset issues with the paths (as observed). It also clips the area where the scrollbar is which may be problematic.

The reason you can't use the scrollbar at all though is because you put z-index: -10; on the scrolling container.

My suggestion is to put the scroll on the mainArea and position it to take up the full space inside the wrapper, minus some padding so the augmentations don't interfere with the scrollbar UI, …

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by JaneOri
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants