Jump to content
Search Community

GSAP Rotated modal and scrolling text on touch screen - gestures wrong way around

Antdev test
Moderator Tag

Go to solution Solved by OSUblake,

Recommended Posts

Hello

Probably pushing my luck asking this question but Google has failed me.

 

I am creating an app with gsap with multiple draggable modals for a touch screen app.

I am rotating the modals 90 degrees at a time.

Just realised that when the modals are at 90 degrees, the finger movement to scroll the text within the modal is wrong.

I have to move my finger up and down to make the scrolling text scroll. So the finger movement is the same as it would have been if I had not rotated the modal. Obviously not ideal!

 

If one of you clever people have any bright ideas I am all ears (and tears if I can't get this to work)

 

Thanks

 

Ant

 

edited to add that the app will be on a table top screen so users can approach it from all 4 sides hence the need to rotate.

See the Pen ZEvZgwQ by antdev (@antdev) on CodePen

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...