Collapse menu item on tablet devices in landscape #684

Closed
opened 2022-04-05 19:20:19 +02:00 by hansegucker · 6 comments
Owner

Currently, the uncollapsed menu consumes too much space.

Currently, the uncollapsed menu consumes too much space.
Author
Owner

assigned to @leuckeju

assigned to @leuckeju
Author
Owner

Guck mal, ob das geht (live overriding of the size method)

Guck mal, ob das geht (live overriding of the size method)
Member

Notes:

  • I didn't manage to achieve the desired effect
  • Changes in JS:
    • Use M, instead of jQuery, to actually change the instance
    • Override two methods, _isCurrentlyFixed() and _handleWindowResize()
  • Changes in CSS (only via browser-devtools):
    • Have margin left also on bigger screens (origin: style.scss)
    • Something else sidenavvy with mediaqueries (origin: somewhere in MAT)
  • Changes in HTML (I didn't do them, but they would have to be done):
    • Display the hamburger menu sooner
  • Conclusion:
    • It doesn't work, the menu still opens at 992px window width, and casts kind of a shadow on big screens now (only if resized)
    • I don't like materialize (anymore)
    • I am not sure on how to continue
Notes: - I didn't manage to achieve the desired effect - Changes in JS: - Use `M`, instead of `jQuery`, to actually change the instance - Override two methods, `_isCurrentlyFixed()` and `_handleWindowResize()` - Changes in CSS (only via browser-devtools): - Have margin left also on bigger screens (origin: style.scss) - Something else sidenavvy with mediaqueries (origin: somewhere in MAT) - Changes in HTML (I didn't do them, but they would have to be done): - Display the hamburger menu sooner - Conclusion: - It doesn't work, the menu still opens at 992px window width, and casts kind of a shadow on big screens now (only if resized) - I don't like materialize (anymore) - I am not sure on how to continue
Owner

Start the Vuetify migration instead ;).

...

30 Apr 2022 00:53:31 Julian (@ZugBahnHof) no-reply@edugit.org:

  • I don't like materialize (anymore)

  • I am not sure on how to continue

Start the Vuetify migration instead ;). <details><summary>...</summary> 30 Apr 2022 00:53:31 Julian (@ZugBahnHof) <no-reply@edugit.org>: * > I don't like materialize (anymore) * > I am not sure on how to continue </details>
Owner

Obsoleted by #696

Obsoleted by #696
nik closed this issue 2022-07-26 13:11:31 +02:00
Owner

unassigned @leuckeju

unassigned @leuckeju
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aleksis/AlekSIS-Core#684
No description provided.