Replies: 2 comments
-
I got min/max toggle working ok. The only issue is that fullscreenElement sets z-index to a high value... but that's a webAPI thing |
Beta Was this translation helpful? Give feedback.
-
I gave up on the requestFullscreen and ended up changing styles on elements instead to get 'kindof' the desired effect, e.g.
and then set to This works fine for expanding/restoring the cards, however, there are some issues around leaflet and echarts card contents not expanding because they still operate like they are in a grid...something to solve for another time. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have a bunch of cards arranged as a grid on my screen, each with a button to make them fullscreen. The question is, what's the best approach for individually making them fullscreen (with a 'restore' button to make them turn back into a card).
This is a code snippet of what I tried. I've given Card.Root component an id, and called the
requestFullscreen
method on it. Looks ok so far, though I've got to toggle Maximise and Minimise appropriatelyThanks
Gary
Beta Was this translation helpful? Give feedback.
All reactions