materialsproject/crystaltoolkit

StructureMoleculeComponent and Mobile Devices

lantunes opened this issue · 2 comments

The StructureMoleculeComponent renders on mobile devices, but I'm unable to rotate the structure in the viewer. I can only zoom in and out on the structure. The viewer's buttons (e.g. settings, export) work normally. I've encountered this on a Pixel 4a and iPhone 8, using a Chrome browser.

janosh commented

You have to swipe across with 2 fingers to rotate. I just tried it out on iPhone 14 and it's admittedly quite hard to control but that seems to be the intended behavior.

janosh commented

Closing as closed. Feel free to ping back if you think the current behavior needs changing.