[Bug]: TooltipHost does not open when hovered/focused when running with vite run
#27451
Closed
2 tasks done
Labels
Component: Tooltip
Fluent UI react (v8)
Issues about @fluentui/react (v8)
React 18
Resolution: Soft Close
Soft closing inactive issues over a certain period
Status: Blocked
Resolution blocked by another issue
Library
React / v8 (@fluentui/react)
System Info
Are you reporting Accessibility issue?
None
Reproduction
https://stackblitz.com/edit/vitejs-vite-rrim5b?file=src/App.tsx
Bug Description
Actual Behavior
Mouse over/focus TooltipHost and the tooltip content doesn't show.
Expected Behavior
Tooltip content should show on mouse over/focus.
Observe in the repro that onMouseEnter/onMouseLeave fire correctly for the 'Normal Div' but the events events are not firing for the TooltipHost. It seems when running under vite the TooltipHost does not attach the necessary listeners, or receive the expected events.
Producing a "production" build which compiles for release using rollup, the Tooltips work as expected.
Logs
No response
Requested priority
Normal
Products/sites affected
All users of vite + @FluentUI TooltipHosts in dev
Are you willing to submit a PR to fix?
yes
Validations
The text was updated successfully, but these errors were encountered: