Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(TextArea): autoResize issue with v-show by implementing ResizeObserver #6630

Merged
merged 2 commits into from
Nov 13, 2024

Commits on Oct 23, 2024

  1. fix: autoResize issue with v-show by implementing ResizeObserver

    - Problem: When using v-show to toggle the visibility of the Textarea component, the auto-resize functionality fails because this.$el.offsetParent returns null when the element is hidden.
    - Solution: Added a ResizeObserver to detect size changes and adjusted the resize logic to handle visibility changes. Now, the Textarea component correctly auto-resizes when it becomes visible and when its content or parent size changes.
    KumJungMin committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    3ac1ff7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    656ac72 View commit details
    Browse the repository at this point in the history