PDA

View Full Version : Scroll problem then remove component from container



dast
21 May 2013, 11:23 PM
Hi guys,

I have a set of containers like on image below:

43918

Those containers has cards. Each card is container with label and close button inside. When i press close button card will be removed by calling parenContainer.remove(card). Everything works fine, except that screen will scroll up for some value.

How can i prevent scrolling then i delete card from card container?

Thanks!

slemmon
23 May 2013, 11:17 AM
Not sure why you're seeing that scroll behavior when removing a component from a parent container. Do you have a code snippet that demonstrates the behavior?