mirror of
https://github.com/danielmiessler/Fabric.git
synced 2026-01-08 22:08:03 -05:00
Merge pull request #1904 from majiayu000/fix/webui-tooltips-rendering-1790
fix: resolve WebUI tooltips not rendering due to overflow clipping
This commit is contained in:
7
cmd/generate_changelog/incoming/1904.txt
Normal file
7
cmd/generate_changelog/incoming/1904.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
### PR [#1904](https://github.com/danielmiessler/Fabric/pull/1904) by [majiayu000](https://github.com/majiayu000): fix: resolve WebUI tooltips not rendering due to overflow clipping
|
||||
|
||||
- Fix: resolve WebUI tooltips not rendering due to overflow clipping by using position: fixed and getBoundingClientRect() to calculate tooltip position dynamically, preventing tooltips from being clipped by parent containers with overflow: hidden
|
||||
- Refactor: extract tooltip positioning logic into separate positioning.ts module for better code organization and maintainability
|
||||
- Improve accessibility with aria-describedby attributes and unique IDs for better screen reader support
|
||||
- Add reactive tooltip position updates on scroll and resize events for dynamic positioning
|
||||
- Add SSR safety with isBrowser flag check and comprehensive unit test coverage for the positioning functions
|
||||
Reference in New Issue
Block a user