Skip to content

Fix jumping on iOS when toggle switch#4275

Merged
bramkragten merged 1 commit intodevfrom
fix-jumping-switch
Nov 29, 2019
Merged

Fix jumping on iOS when toggle switch#4275
bramkragten merged 1 commit intodevfrom
fix-jumping-switch

Conversation

@bramkragten
Copy link
Copy Markdown
Member

@bramkragten bramkragten commented Nov 26, 2019

Can't find the source of the problem so can not fix it...

This dirty fix does solve it, but will again break the mouse over of a graph (#3971)

Fixes #4212
Fixes #4179

flex: 1 0 0;
max-width: 500px;
min-width: 0;
/* on iOS devices the column can become wider when toggling a switch */
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we should fix this at the place where we render the switch ?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess it can't hurt to do it here in HUI-view 🤷‍♂ We really don't want things to escape horizontally anyway.

@bramkragten bramkragten merged commit daa04e9 into dev Nov 29, 2019
@delete-merged-branch delete-merged-branch Bot deleted the fix-jumping-switch branch November 29, 2019 11:41
@bramkragten bramkragten mentioned this pull request Dec 4, 2019
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scrollbars on Toggle off in entity cards Mobile app moves entire card when switching on/off

3 participants