-
Notifications
You must be signed in to change notification settings - Fork 77
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
Sortable list item's action menu don't close correctly after item is reordered #7445
Closed
2 of 3 tasks
Labels
4 - verified
Issues that have been released and confirmed resolved.
ArcGIS Hub
Issues logged by ArcGIS Hub team members.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
calcite-components
Issues specific to the @esri/calcite-components package.
estimate - 2
Small fix or update, may require updates to tests.
p - medium
Issue is non core or affecting less that 60% of people using the library
Milestone
Comments
sonofflynn89
added
0 - new
New issues that need assignment.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
needs triage
Planning workflow - pending design/dev review.
labels
Aug 3, 2023
github-actions
bot
added
calcite-components
Issues specific to the @esri/calcite-components package.
ArcGIS Hub
Issues logged by ArcGIS Hub team members.
p3 - want for upcoming milestone
labels
Aug 3, 2023
geospatialem
added
discussion
Issues relating to a conversation where feedback is optional.
design
Issues that need design consultation prior to development.
labels
Aug 21, 2023
For next steps, Calcite should consider:
|
brittneytewks
removed
the
design
Issues that need design consultation prior to development.
label
Aug 24, 2023
geospatialem
added
1 - assigned
Issues that are assigned to a sprint and a team member.
and removed
0 - new
New issues that need assignment.
needs triage
Planning workflow - pending design/dev review.
labels
Dec 5, 2023
geospatialem
removed
the
discussion
Issues relating to a conversation where feedback is optional.
label
Dec 5, 2023
5 tasks
driskull
added a commit
that referenced
this issue
Dec 6, 2023
driskull
added
2 - in development
Issues that are actively being worked on.
and removed
1 - assigned
Issues that are assigned to a sprint and a team member.
labels
Dec 6, 2023
driskull
added a commit
that referenced
this issue
Dec 6, 2023
**Related Issue:** #7445 ## Summary - Set autoClose on internal popover - Remove event listener on window - Listen for popover close to set `open` property to false. - Updates existing test. (Already a test to ensure closure of menu when clicking outside)
driskull
added
3 - installed
Issues that have been merged to master branch and are ready for final confirmation.
and removed
2 - in development
Issues that are actively being worked on.
labels
Dec 6, 2023
Installed and assigned for verification. |
geospatialem
added
p - medium
Issue is non core or affecting less that 60% of people using the library
estimate - 2
Small fix or update, may require updates to tests.
labels
Dec 6, 2023
Tested locally on Results:
Screen.Recording.2023-12-08.at.2.30.23.PM.mov |
DitwanP
added
2 - in development
Issues that are actively being worked on.
and removed
3 - installed
Issues that have been merged to master branch and are ready for final confirmation.
labels
Dec 8, 2023
driskull
added a commit
that referenced
this issue
Dec 8, 2023
Nice catch @DitwanP! thanks for finding this. PR incoming 🚀 |
driskull
added a commit
that referenced
this issue
Dec 9, 2023
**Related Issue:** #7445 ## Summary - Keep open property in sync with open property of internal popover - Update menu button element when connectedCallback occurs. - Add test
driskull
added
3 - installed
Issues that have been merged to master branch and are ready for final confirmation.
and removed
2 - in development
Issues that are actively being worked on.
labels
Dec 9, 2023
Installed and assigned for verification. |
🍰 Verified locally on Results:
Screen.Recording.2023-12-11.at.12.39.52.PM.mov |
DitwanP
added
4 - verified
Issues that have been released and confirmed resolved.
and removed
3 - installed
Issues that have been merged to master branch and are ready for final confirmation.
labels
Dec 11, 2023
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 released and confirmed resolved.
ArcGIS Hub
Issues logged by ArcGIS Hub team members.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
calcite-components
Issues specific to the @esri/calcite-components package.
estimate - 2
Small fix or update, may require updates to tests.
p - medium
Issue is non core or affecting less that 60% of people using the library
Check existing issues
Actual Behavior
<calcite-block>
items within a<calcite-sortable-list>
have a built in actions menu popover. On initial render, the actions menu works fine. Clicking the toggle opens the popover. The popover can be closed by clicking an action, clicking outside, or clicking the toggle again.Screen.Recording.2023-08-03.at.5.10.17.PM.mov
However, the moment that a
<calcite-block>
is reordered, the actions menu breaks. Clicking the toggle still opens the popover, but now the popover will not close after clicking an action or clicking outside. It will only close if the toggle is clickedScreen.Recording.2023-08-03.at.5.10.55.PM.mov
Expected Behavior
The actions menu popover should close when an action is clicked or the user clicks outside, just like it did on the initial render.
Reproduction Sample
https://codepen.io/sonofflynn89-the-reactor/pen/qBQvEbj
Reproduction Steps
The code pen has them enumerated
Reproduction Version
1.5.0
Relevant Info
No response
Regression?
No response
Priority impact
p3 - want for upcoming milestone
Impact
While flows are not prohibited, it is jarring to see that after an action is clicked, the menu remains open. Our users could have up to 5 of these popovers stuck open at a time unless they know they know that they need to click the toggle button again.
Calcite package
Esri team
ArcGIS Hub
The text was updated successfully, but these errors were encountered: