-
Currently integrating svelte-jsoneditor to a Django admin view, and the context menu likes to clip itself as shown in the screenshot: How does one avoid this? |
Beta Was this translation helpful? Give feedback.
Answered by
josdejong
Aug 17, 2022
Replies: 1 comment 1 reply
-
This happens when the editor is created inside a DIV that has styling It's is often used to prevent the contents of a DIV from overflowing, but instead of you can use flexbox and specify |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
elipp
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This happens when the editor is created inside a DIV that has styling
overflow: hidden
.It's is often used to prevent the contents of a DIV from overflowing, but instead of you can use flexbox and specify
min-width: 0
and/ormin-height: 0
to prevent any overflowing content.