Skip to content

Tooltip does not open while pointer is moving #6278

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
nwhittaker opened this issue Jan 12, 2023 · 3 comments
Closed

Tooltip does not open while pointer is moving #6278

nwhittaker opened this issue Jan 12, 2023 · 3 comments
Assignees
Labels
4 - verified Issues that have been tested, confirmed as mitigated, and are ready to close. ArcGIS Field Apps Issues logged by ArcGIS Field Apps team members. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. p - high Issue should be addressed in the current milestone, impacts component or core functionality regression Issues that are caused by changes in a release, but were working before that. research Issues that require more in-depth research or multiple team members to resolve or make decision.

Comments

@nwhittaker
Copy link
Contributor

Actual Behavior

An element's tooltip does not start to open until the user stops moving the pointer over the reference element.

Expected Behavior

An element's tooltip starts to open when the user first moves the pointer onto the reference element.

Reproduction Sample

https://codepen.io/nwhittaker-esri/pen/YzjVoMK

Reproduction Steps

  1. Visit the code sample
  2. Move the continuously mouse within the reference element and note the tooltip does not appear
  3. Stop moving the mouse and see the tooltip appear

Reproduction Version

next.702

Relevant Info

I suspect the issue was actually introduced in next.701 (possibly #6119), but that release's build doesn't appear to reflect those changes for some reason.

Regression?

beta.99

Impact

Tooltips open at inconsistent points in time.

Esri team

ArcGIS Field Apps

@nwhittaker nwhittaker added bug Bug reports for broken functionality. Issues should include a reproduction of the bug. 0 - new New issues that need assignment. needs triage Planning workflow - pending design/dev review. regression Issues that are caused by changes in a release, but were working before that. labels Jan 12, 2023
@github-actions github-actions bot added the ArcGIS Field Apps Issues logged by ArcGIS Field Apps team members. label Jan 12, 2023
@geospatialem geospatialem added the research Issues that require more in-depth research or multiple team members to resolve or make decision. label Mar 21, 2023
@geospatialem
Copy link
Member

geospatialem commented Mar 21, 2023

Research next steps with the pointer movement and with how the tooltip is presented to users when opened in the May milestone.

Some considerations during research:

  • Timing/animations
  • Length and options of timing (also consider implementations of alert)
  • Accessibility timing (resource)

@geospatialem geospatialem removed the needs triage Planning workflow - pending design/dev review. label Mar 30, 2023
@geospatialem geospatialem added this to the 2023 May Priorities milestone Mar 30, 2023
@geospatialem geospatialem added design Issues that need design consultation prior to, or during, development. 1 - assigned Issues that are assigned to a sprint and a team member. and removed 0 - new New issues that need assignment. labels Apr 17, 2023
@geospatialem geospatialem added p - high Issue should be addressed in the current milestone, impacts component or core functionality 0 - new New issues that need assignment. and removed design Issues that need design consultation prior to, or during, development. 1 - assigned Issues that are assigned to a sprint and a team member. labels Apr 17, 2023
@driskull driskull self-assigned this Apr 27, 2023
@driskull driskull added 2 - in development Issues that are actively being worked on. and removed 0 - new New issues that need assignment. labels Apr 27, 2023
driskull added a commit that referenced this issue Apr 29, 2023
**Related Issue:** #6278 #6615 #6785

## Summary

- Only clears the hovering timeout for toggling a tooltip when:
  - An active tooltip is being hovered.
- An active tooltip exists and a tooltip reference element is not being
hovered.
- This means a newly hovered tooltip can be opened without having to
stop moving the mouse.
- Had to make some adjustments for clicked tooltips when `closeOnClick`
is true.
- Cleanup some code 
- Adds test
@driskull driskull added 3 - installed Issues that have been merged to the "dev" branch and/or are ready for QA/QC. and removed 2 - in development Issues that are actively being worked on. labels Apr 29, 2023
@github-actions
Copy link
Contributor

Installed and assigned for verification.

@geospatialem geospatialem added 4 - verified Issues that have been tested, confirmed as mitigated, and are ready to close. and removed 3 - installed Issues that have been merged to the "dev" branch and/or are ready for QA/QC. labels May 3, 2023
@geospatialem
Copy link
Member

Verified in 1.4.0-next.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4 - verified Issues that have been tested, confirmed as mitigated, and are ready to close. ArcGIS Field Apps Issues logged by ArcGIS Field Apps team members. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. p - high Issue should be addressed in the current milestone, impacts component or core functionality regression Issues that are caused by changes in a release, but were working before that. research Issues that require more in-depth research or multiple team members to resolve or make decision.
Projects
None yet
Development

No branches or pull requests

6 participants