Jump to content


  • Posts

  • Joined

  • Last visited

Posts posted by wim_27721

  1. Draggable sets the overflowX and overflowY to "hidden" on mobile devices because:

    1. There's a bug in some mobile browsers (like Android) that causes scrollTop to get forced back to 0 after it is altered via JS (a total show-stopper for a tool like Draggable)
    2. From what I understand, most (if not all) mobile browsers have that default behavior anyway (overflow is hidden). 

    You could manually set the overflowX/overflowY back to "auto" or something AFTER you create your Draggable if you'd like to override that behavior. Like yourElement.style.overflowY = "auto";

    Does this actually work for iOS?