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

[CalendarView] Significant Gap Appears in Calendar When when reaching end of calendar #17635

Closed
jhanvi03 opened this issue Jul 22, 2024 · 1 comment · Fixed by #18987
Closed
Assignees
Labels
area/canary 🐤 Categorizes an issue or PR as relevant to canary testing difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working platform/wasm 🌐 Categorizes an issue or PR as relevant to the WebAssembly platform triage/untriaged Indicates an issue requires triaging or verification

Comments

@jhanvi03
Copy link

Current behavior

After selecting a day at the end of the calendar and switching back to the year view, a large gap is present, disrupting the user experience and causing visual inconsistencies.

Screen.Recording.2024-07-22.at.11.42.00.AM.mov
Screenshot 2024-07-22 at 11 39 45 AM

Expected behavior

The calendar should smoothly transition between month and year views without any large gaps or layout issues.

How to reproduce it (as minimally and precisely as possible)

Steps to Reproduce:

  1. Open Gallery in any of the web browser
  2. Navigate to Menu -> UI Components -> CalenderView
  3. In the calendar reach to end of years
  4. Select a day
  5. Go back to years
  6. Observe the huge blank gap.

Workaround

No response

Works on UWP/WinUI

None

Environment

No response

NuGet package version(s)

No response

Affected platforms

WebAssembly

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

@jhanvi03 jhanvi03 added kind/bug Something isn't working platform/wasm 🌐 Categorizes an issue or PR as relevant to the WebAssembly platform triage/untriaged Indicates an issue requires triaging or verification difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. labels Jul 22, 2024
@rajamatt rajamatt changed the title [Gallery][WASM][UI Components] CalendarView - Significant Gap Appears in Calendar When when reaching end of calendar [Skia/Wasm][CalendarView] Significant Gap Appears in Calendar When when reaching end of calendar Jul 25, 2024
@rajamatt
Copy link
Contributor

Findings so far: happening on Skia & Wasm, looks like we need to add some logic surrounding BringDisplayDateintoView(), more precisely the ScrollToDate(date) method should probably take in a date that would prevent this behavior from occuring altogether.

@rajamatt rajamatt changed the title [Skia/Wasm][CalendarView] Significant Gap Appears in Calendar When when reaching end of calendar [CalendarView] Significant Gap Appears in Calendar When when reaching end of calendar Jul 30, 2024
@agneszitte agneszitte added the area/canary 🐤 Categorizes an issue or PR as relevant to canary testing label Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/canary 🐤 Categorizes an issue or PR as relevant to canary testing difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working platform/wasm 🌐 Categorizes an issue or PR as relevant to the WebAssembly platform triage/untriaged Indicates an issue requires triaging or verification
Projects
None yet
4 participants