there’s a problem affecting viewports and other custom components on Windows when in tablet mode – i.e. using touch instead of a mouse.
When in tablet mode, a
Viewport can’t be scrolled because
setScrollOnDragEnabled is enabled at compile time only for Android and iOS.
We have also other custom components that rely on dragging when in touch mode (iOS and Windows tablets).
So one solution would be checking the
isTabletModeActivatedForWindow(), which is private at the moment, or even better wrap it in a generic method ( something like
isTouchEnabled()) in the
What do you think?