mirror of
https://github.com/danielmiessler/Fabric.git
synced 2026-01-09 14:28:01 -05:00
- Add incoming 1904 changelog entry
- Extract positioning calculations into dedicated `positioning.ts` module - Add reactive tooltip position updates on scroll/resize - Improve accessibility with `aria-describedby` and unique IDs - Add SSR safety with `isBrowser` flag check - Replace inline position calculation with reactive statement - Add window event listeners for position tracking - Update unit tests to use extracted functions - Add test coverage for style formatting function
This commit is contained in:
committed by
Kayvan Sylvan
parent
257721280f
commit
4d0e1e7201
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