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

calcite-date-picker changes height depending on months #9305

Open
2 of 6 tasks
janett-baresel opened this issue May 10, 2024 · 0 comments
Open
2 of 6 tasks

calcite-date-picker changes height depending on months #9305

janett-baresel opened this issue May 10, 2024 · 0 comments
Labels
0 - new New issues that need assignment. ArcGIS Scene Viewer Issues logged by ArcGIS Scene Viewer 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. impact - p3 - not time sensitive User set priority impact status of p3 - not time sensitive needs triage Planning workflow - pending design/dev review.

Comments

@janett-baresel
Copy link

Check existing issues

Actual Behavior

When flipping through the months the picker changes height due to how many rows a particular month needs. This is not ideal when the button for next/previous moves up and down in certain scenarios. It is even worse if the changing height triggers different position of the popover above or below the control. (see 2 gifs).
This also can happen when changing to the next year, where the months might be shorter or longer (in number of rows) than before.

datepicker

datepicker2

Expected Behavior

The popover stays at the same place and doesn't change height so the above doesn't happen and users can seamlessly switch between months and years.

(One suggestion would be to have a consistent height, e.g. always 6 rows)

Reproduction Sample

https://developers.arcgis.com/calcite-design-system/components/input-date-picker/

Reproduction Steps

  1. open input date picker sample in codepen
  2. add <div style="height:350px;"></div> above picker
  3. open picker and observe issues mentioned above.

image

Reproduction Version

2.8.0

Relevant Info

os and browser independent

Regression?

No response

Priority impact

p4 - not time sensitive

Impact

minor - just bad UX for people setting up a lot of dates for different layers. This becomes visible because SV (and MV) allow setting a visible time extent for any layer. Users will set up time ranges for multiple layers in a row and this UX makes it harder to quickly navigate to a given date.

Calcite package

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

Esri team

ArcGIS Scene Viewer

@janett-baresel janett-baresel 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 May 10, 2024
@github-actions github-actions bot added calcite-components Issues specific to the @esri/calcite-components package. ArcGIS Scene Viewer Issues logged by ArcGIS Scene Viewer team members impact - p3 - not time sensitive User set priority impact status of p3 - not time sensitive labels May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 - new New issues that need assignment. ArcGIS Scene Viewer Issues logged by ArcGIS Scene Viewer 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. impact - p3 - not time sensitive User set priority impact status of p3 - not time sensitive needs triage Planning workflow - pending design/dev review.
Projects
None yet
Development

No branches or pull requests

1 participant