Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Panel: slide drag and snap back #5876

Closed
renatosousafilho opened this issue Apr 11, 2013 · 7 comments
Closed

Panel: slide drag and snap back #5876

renatosousafilho opened this issue Apr 11, 2013 · 7 comments

Comments

@renatosousafilho
Copy link

I want to know if is a way to close a panel sliding the main page from the side where's panel is open to close a panel. Similar a funcionality of some native apps like facebook and dlphin browser.

it's something like it(http://jsfiddle.net/Qb2DV/1/), what i want to do, but rather than use the select options, use a div to page container and the panel wiget.

It is possible?

@jaspermdegroot
Copy link
Contributor

@renatosousafilho

This is more a question for the forum than the issue tracker.
Going to change the title and close this ticket as feature request.
This is the same question as #5875, right?

@jaspermdegroot
Copy link
Contributor

Linked this up at the feature request wiki page: https://github.com/jquery/jquery-mobile/wiki/Feature-Requests

@novium
Copy link

novium commented Apr 15, 2013

Heres a good example http://jakiestfu.github.io/Snap.js/
but it would be great if this would be integrated

Edit:
More like perfect!

@zied400
Copy link

zied400 commented Feb 9, 2014

Yesss , i like it

@frankie-loves-jesus
Copy link

👍

@arschmitz
Copy link
Contributor

We can look into this when we re-write panel it will depend on pointer events landing in ui first though as it requires draggable. Once this is usable on mobile this will be fairly simple.

@jaspermdegroot
Copy link
Contributor

Oops, I managed to delete my comment :/ Here it comes again...

I was just looking at DragSwipe plugins when @frankie-loves-jesus commented on this ticket. I agree this would be a nice feature to add. Not only for panel, but generic code that also can be used for a list item (to remove it) for example.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants