[Help]: Resize children component with AutoHeight (when children component changes data). #893
-
SummaryDescriptionI want to build a slider form that adjusts the children height based on the component that is being displayed at the moment. The issue I currently have is when I display a extra message after certain functionality (e.g. display error message after a submit of the form). When this happens, the content overflows and the component does not resize the height. Steps to reproduce
If applicable, which variants of Embla Carousel are relevant to this question?
Additional informationNo response CodeSandbox examplehttps://codesandbox.io/p/sandbox/embla-carousel-auto-height-issue-c763nc |
Beta Was this translation helpful? Give feedback.
Answered by
davidjerleke
Jun 5, 2024
Replies: 1 comment 3 replies
-
@juanpmd this might be a duplicate of: Please read it and let me know if it solves the problem. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@juanpmd sorry I misunderstood the question. I think this solution should work (you can remove the
watchResize
option all together):