danheron/Heron.MudCalendar

v3.0.0-beta.1 feedback

Closed this issue · 5 comments

  1. I have a page that has a list view (DataGrid - this is the default) then a toggle for a calendar view, when toggling to the calendar view I get the layout in the first image, then after toggling back to list then back to calendar the layout gets fixed (second image)

image
image
I can make a repo if you need more detail.

  1. In previous versions I set the calendar height via Style to "calc(100vh - 100px)" and the cells in the month view were scrollable, now they say +X more, and are not scrollable. Is there a way to get the previous behavior in this new version? I tried setting MonthCellMinHeight to various values but it didn't give intended results.

  2. Also I have some examples of extending month view for the new changes in this beta. I could contribute to the docs if wanted (how to style weekends, add custom buttons, how to style outside days,...).
    image

Thank you

  1. Could you create a repo please. It's hard to see what the problem is just from the screenshots.
  2. The cells aren't scrollable any more. It seemed that nobody liked that. It was also necessary to change that for multi-day appointments which was a much requested feature. I'll have a look about how difficult it would be to add an option for scrollable cells.
  3. I like the styles you've made. That would be great if you could add to the docs.
  1. Repo here: https://github.com/digitaldirk/CalendarLayoutBug (Run project -> switch to calendar view -> see +X more misaligned -> switch back to list view, then back to calendar view -> +X more now in right place) All code is in Home.razor and the project is on the latest prerelease of MudBlazor and MudCalendar.
  2. The multi-day items makes sense, maybe there is a way for scrolling by overriding?
  3. Working on the docs stuff.

Thank you for your time.

  1. The problem is that the calendar items are being arranged before the stylesheet has finished loading. As a workaround you can explicitly add the stylesheet to the App.razor file.

@danheron thank you that was the fix. Feel free to close this (or leave open for the scrollable cells)

Will try to get docs stuff this weekend.