It works for clicks as expected but not for touch. What am I missing?
Scratch that, touch actually does work, the issue was caused by the layout not functioning as expected.
In the old Dashboard I had set the viewport like the following:
In the old Dashboard I could at least zoom out manually with pinch to zoom, but the new Dashboard does not seem to allow this. Is there an easy fix or am I boned?
It looks fine on desktop, this is what I would like it to look like on mobile as well:
It also seems to be moving the game board down resizing the game board image on mobile (or smaller desktop windows) even though I have set it's size like the following:
But I can't seem to find out why?
EDIT: style="min-width: 768px" seems to stop it from resizing. So it's just the zoom level or size on mobile that remains an issue.
Secondly, this isn't a use case I had considered in Dashboard 2.0. For 99% of situations, our users want content to be automatically responsive, so we take the reigns and when on mobile view for example, set the CSS such that it move content into a "3" wide grid, and then pieces below that will fit accordingly.
Is your full Dashboard here a ui-template node? Just want to understand the makeup of it, and then I could help with a solution.
I haven't put any explicit blockers on being able to zoom. I'm able to in my standard desktop browser, so not sure why there would be limitations on mobile.
@joepavitt That is correct, my user interface is made in ui-template nodes scoped to the group level and layout set to grid. I have experimented with other scopes and layouts to no avail.
So far It looks like I may have found one possible solution (works on android, haven't got a chance to test iOS until tonight), include the following in a ui-template node set to type "CSS (Single Page)":
html {
overflow-x: auto !important;
}
.v-card {
width:1280px !important;
}
Still open to other more elegant suggestions though.