Skip to content
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

[Input Date Picker] When range and min and max are a month apart the component closes #11534

Closed
2 of 6 tasks
geospatialem opened this issue Feb 12, 2025 · 2 comments
Closed
2 of 6 tasks
Assignees
Labels
4 - verified Issues that have been released and confirmed resolved. ArcGIS Map Viewer Issues logged by ArcGIS Map Viewer team members. ArcGIS Maps SDK for JavaScript Issues logged by ArcGIS SDK for JavaScript team members. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. estimate - 3 A day or two of work, likely requires updates to tests. impact - p1 - need for current milestone User set priority impact status of p1 - need for current milestone p - high Issue should be addressed in the current milestone, impacts component or core functionality

Comments

@geospatialem
Copy link
Member

Check existing issues

Actual Behavior

The input-date-picker component closes due to a blur event firing after navigating months with the previous/next buttons.

The behavior seems to only occur when the min and max dates are a month apart.

Expected Behavior

The component does not close when interacting with the previous/next buttons.

Reproduction Sample

https://codepen.io/jcfranco/pen/EaYqePd

Reproduction Steps

  1. Open the sample
  2. Open the component
  3. Try to select the "next" chevron
  4. Observe the component closes

Reproduction Version

3.0.0

Relevant Info

Originated from the internal 3.0 migration notes and feedback

Regression?

No response

Priority impact

impact - p1 - need for current milestone

Impact

No response

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-react
  • @esri/calcite-design-tokens
  • @esri/calcite-ui-icons
  • @esri/eslint-plugin-calcite-components

Esri team

ArcGIS Map Viewer

@geospatialem geospatialem added 1 - assigned Issues that are assigned to a sprint and a team member. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. estimate - 3 A day or two of work, likely requires updates to tests. p - high Issue should be addressed in the current milestone, impacts component or core functionality labels Feb 12, 2025
@geospatialem geospatialem added this to the 3.0.0 Patch - 2025-02-13 milestone Feb 12, 2025
@github-actions github-actions bot added ArcGIS Map Viewer Issues logged by ArcGIS Map Viewer team members. impact - p1 - need for current milestone User set priority impact status of p1 - need for current milestone labels Feb 12, 2025
@geospatialem geospatialem added the ArcGIS Maps SDK for JavaScript Issues logged by ArcGIS SDK for JavaScript team members. label Feb 12, 2025
@anveshmekala anveshmekala 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 Feb 12, 2025
anveshmekala added a commit that referenced this issue Feb 19, 2025
…chevron actions (#11525)

**Related Issue:** #11534 

## Summary

No longer close `input-date-picker` while navigating between months with
chevron actions & min/max are assigned adjacent month values.
@anveshmekala anveshmekala 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 Feb 19, 2025
Copy link
Contributor

Installed and assigned for verification.

@github-actions github-actions bot assigned DitwanP and unassigned anveshmekala Feb 19, 2025
@geospatialem geospatialem 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 Feb 19, 2025
@geospatialem
Copy link
Member Author

Verified on the dev branch locally

benelan pushed a commit that referenced this issue Feb 19, 2025
…chevron actions (#11525)

**Related Issue:** #11534 

## Summary

No longer close `input-date-picker` while navigating between months with
chevron actions & min/max are assigned adjacent month values.
benelan pushed a commit that referenced this issue Feb 19, 2025
…chevron actions (#11525)

**Related Issue:** #11534 

## Summary

No longer close `input-date-picker` while navigating between months with
chevron actions & min/max are assigned adjacent month values.
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 Map Viewer Issues logged by ArcGIS Map Viewer team members. ArcGIS Maps SDK for JavaScript Issues logged by ArcGIS SDK for JavaScript team members. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. estimate - 3 A day or two of work, likely requires updates to tests. impact - p1 - need for current milestone User set priority impact status of p1 - need for current milestone p - high Issue should be addressed in the current milestone, impacts component or core functionality
Projects
None yet
Development

No branches or pull requests

3 participants