Is there anyway to make overflow in x visible while y is scrollable?
From https://developer.mozilla.org/en-US/docs/Web/CSS/overflow
Setting overflow toIs there anyway to get around this?visible
in one direction (i.e.overflow-x
oroverflow-y
) when it isn't set tovisible
orclip
in the other direction results in thevisible
value behaving asauto
.
3 Replies
What are you trying to achieve?
Can you describe better or share a screenshot?
If content fits inside the element's padding box, it looks the same as with visible but still establishes a new formatting context.
You've posted the answer to your own question. (No) Which leads me to believe that's not exactly what you want to do.
What is it you are trying to achieve exactly and what did you try so far? There's a lot of information missing for us to help you correctly, you can check https://discord.com/channels/436251713830125568/1022288836715356180 for help on how to improve your question.