mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
* fix(components): [popper] fix arrow overflow issue Add popperArrowProp to popperContentProps to ensure usePopper correctly applies arrow options, preventing the arrow from overflowing the popper container edges. * fix(components): [popper] change arrowOffset to ref for reactivity * feat(components): [tooltip] add arrow-offset property - Allow users to control the padding of the tooltip arrow - Prevents the arrow from touching the popper's edge Reference: https://popper.js.org/docs/v2/modifiers/arrow/#padding * fix(components): [popper] add reactive watch for arrowOffset prop * feat(components): [popper] remove unused arrowOffset prop Removes unused arrowOffset prop and related logic - Removes arrowOffset from PopperContentInjectionContext - Removes arrowOffset prop watching and state management - Cleans up related test cases * docs(components): [tooltip] update version requirement update version requirement for arrow-offset prop * docs(components): [tooltip] update `arrow-offset` version * Update docs/en-US/component/tooltip.md Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com> --------- Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com> Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>