Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Faded item stuck at drop point after draggning #18

Open
adamro opened this issue May 14, 2015 · 8 comments
Open

Faded item stuck at drop point after draggning #18

adamro opened this issue May 14, 2015 · 8 comments

Comments

@adamro
Copy link

adamro commented May 14, 2015

On random occasions items are "stuck" where you drop them as what seems like an image of the item in the "faded" situation it is (with alpha) when it's dragged.
If you scroll after the drop when it happens the RecyclerView and DragSort keeps working as intended but the "image" of the item that was dropped is kept on the same place on the screen.

Did anyone else experience this behavior or have any idea why it happens?

@emileb
Copy link
Owner

emileb commented May 20, 2015

Thanks for the report.
Couple of qus:
Does the stuck image disappear when you try and drag another item, or does it always remain (with 2 now on the screen)?
Does it disapear when you close/reopen the activity?
Thanks

@riyaz942
Copy link

I think i might have the same problem as described by adamro but in my case it occurs whenever i tap on the handle, no dragging involved. the faded item gets stuck on the recyclerview and it disappears when i drag another item. This is how it looks
screenshot_2015-06-17-15-58-11 custom

and if you scroll the list some items gets stacked like in the image given below

screenshot_2015-06-17-15-58-38 custom

@emileb
Copy link
Owner

emileb commented Jun 17, 2015

Thanks for the info. So does this only happen if you tap, if you drag it does not get stuck?
Thanks

@riyaz942
Copy link

I haven't encountered any bugs while i drag an item and yeah ,it only happens when i tap on it.

hope you fix it soon.

@emileb
Copy link
Owner

emileb commented Jun 17, 2015

OK It must not be receiving the "UP" event. Have you got a touch listener over the whole list item? If the drag handle is under the listener it might not receive all events

@riyaz942
Copy link

i have a relative layout which has a onclicklistener and a onlongclicklistener and within that layout i put the handle ... but the problem still persists even after i put the handle outside the relativelayout (which contains the listener)

and i have no other ontouchlistener on the item.

@azizimusa
Copy link

It also happen to me. When I tap once at viewhandle , the element will stay on screen when scrolling to top and bottom. This does not happen during dragging. Only tap once. The viewhandle should support Tap once again to cancel the effect.

@RajeshJadi
Copy link

RajeshJadi commented Jan 5, 2017

Unable remove press effect on click on another item.

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

No branches or pull requests

5 participants