Ion-select in landscape orientation mode

So, I have a series of selects, each with more than 6 options so the alert controller is always used. I came across a situation where the alert dialog did not display the cancel or ok buttons on the bottom of the dialog IF the iOS device was is landscape orientation. Unfortunately, right now, I have to lock to landscape mode. Any ideas on how to solve this?

2 Likes

Same here… anyone got a solution?

I am also experiencing this issue.

You can solve the problem by changing the height from the select options, it is set in pixels by default, so just change it to vh that it should work.

The class that I have changed the height is this one:

.alert-checkbox-group{
height: 55vh;
}

1 Like

Works like a charm. Small addition:

.alert-checkbox-group, .alert-radio-group {
    height: 55vh;
}