Results 1 to 2 of 2

Thread: Scroll problem then remove component from container

  1. #1
    Sencha Premium Member
    Join Date
    May 2013
    Posts
    1
    Vote Rating
    0
      0  

    Default Scroll problem then remove component from container

    Hi guys,

    I have a set of containers like on image below:

    Untitled.png

    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!

  2. #2
    Sencha User slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,165
    Answers
    505
    Vote Rating
    255
      0  

    Default

    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?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •