Tooltip: Fixing 'persist on scroll' issues#9749
Tooltip: Fixing 'persist on scroll' issues#9749micahgodbolt merged 3 commits intomicrosoft:masterfrom
Conversation
Vitalius1
left a comment
There was a problem hiding this comment.
Funny that this bug was present for so long and surfaced only now. Do you have the PR number that introduced the regression? Was it by mistake or intentional?
|
few quick Qs.
|
|
|
1.- Yes, the example with tooltips with delays was still working when I tested this change. |
|
@Vitalius1 it's PR #4364, the PR adds delayed functionality to the |
|
Component Perf Analysis:
|
|
@micahgodbolt I think I know what you mean by your second question now. That seems to be the behavior since |
|
@micahgodbolt let me investigate. |
|
@micahgodbolt just pushed a commit to allow scrolling when hovering over a |
|
now what's the chance that someone has a tooltip with so much content that it has to scroll :-\ If that comes up i guess we can simply check for overflow....but people really shouldn't have that much content in a tooltip. |
|
@micahgodbolt yes, I feel like the |
|
jon is on vacation. going to merge this in |
|
🎉 Handy links: |
Pull request checklist
$ npm run changeDescription of changes
This PR fixes some issues that existed on the
Tooltipcomponent:Tooltipwas not dismissing on scroll when the focus was on the elementTooltipwas not dismissing on scroll until the scroll stoppedTooltipThe first two bugs was introduced in Fabric 5.77.0 as part of PR #4364.
Focus areas to test
Tooltipin theTooltipexamples page and notice the difference between the live website and this PR when scrolling after theTooltipappears.Tooltipin theTooltipexamples page and notice the difference between the live website and this PR when scrolling after theTooltipappears.Tooltipin theTooltipexamples page (easiest to do this is theTooltip with delay closing). Once you are hovering theTooltip, start scrolling and notice the difference between the live website and this PR.Microsoft Reviewers: Open in CodeFlow