Jump to content
Search Community

Palke

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Palke

  1. Hi guys. I have a little "problem" that I am trying to solve. If there is a way, for now I am out of ideas. If anyone could pitch in, would be really awesome! Attached is the observer demo where I added just timescale for the timeline, to demonstrate my struggle. I do have some animations tied to the wheel event, that are pretty short > 0.5/1s each. I do want the wheel control the animations but the problem I am facing is while using touchpad / mouse that has infinite scroll enabled. This is causing that when I scroll too fast / swipe fingers on the touchbar aggressively, the animations are playing as in "loop". I was looking for a solution to actually run the "next" animation only, when person does another scroll / swipe and ignore it while the previous callback is being fired. For now, I am simply flagging variable to prevent this - in the "onDown" and "onUp" = true, and then in "onEnd" = false. This somehow works, but if I continuously swipe on touchbar, the "onEnd" never fires and no animations is done (as expected) Is there any possibility to get something as "onWheelStart" event? Is it even possible? Thanks for any suggestions [EDIT] Playing with wheelSpeed, tolerance and onStopDelay seems to resolve my case.
  2. @GreenSock Thanks Jack, no issue with this version!
  3. Hi @akapowl Thanks for testing. I am using Mac (macOS Monterey) and I can see this behaviour in Firefox, Chrome and also Safari, all latest.
  4. Hello. I am playing around with Observer plugin and noticed something odd that I am uncertain if is intended - or bug. While using "pointer" setting with Observer, "right-mouse-click" causes the events to fire simply by moving the mouse over the document. Steps to replicate: 1. Open the Observer demo CodePen 2. Right-click on the demo content (context menu opens) 3. Left-click back on the demo content to close context menu 4. Move mouse up and down I believe the items shouldn't get animated. If this is indeed intended, how can we disable this easy? Thanks!
×
×
  • Create New...