Tab Change Causes Drop Down Content Lists from Previous Tab to Show

4 posts, 0 answers
  1. Stephen
    Stephen avatar
    21 posts
    Member since:
    Dec 2013

    Posted 21 Apr 2015 Link to this post

    We have this seemingly random behavior with tab control.  Sometimes when we change tabs, the content of one of the drop downs on the the tab we are navigating from opens in the upper corner of the application.  The drop down drop list is the part that shows.  It isn't in a case where that tab was even open when the tab change happened.  A couple of times, I have seen the content of 2 different drop downs, from the previous tab, show at once.  The screenshot is of this last case, where two showed in the upper left.  This happened when clicking on the Contact tab, coming from the Profile tab.
  2. Kiril Vandov
    Admin
    Kiril Vandov avatar
    324 posts

    Posted 22 Apr 2015 Link to this post

    Hello Stephen,

    We have tried to reproduce the issue on our side, but with no success. That is why I would like to ask you for more information about your scenario:
    - do you have nested TabControls?
    - what is the XAML that you are using for you View?
    - do you have any custom styles?
    - what are the steps that lead to that behavior? Simply changing the TabItems ?

    Also if you could send us an isolated project reproducing the issue will help us better understand your scenario and provide you with the best possible solution.

    Kind regards,
    Kiril Vandov
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  3. DevCraft banner
  4. Stephen
    Stephen avatar
    21 posts
    Member since:
    Dec 2013

    Posted 22 May 2015 Link to this post

    I figured out the cause of this.  It happens when the very first control on a GridViewTab is a RadComboBox.  It must have something to do with the focus going to the drop down box, when the tab has already changed.  This causes the inside list from the drop down to appear in the upper left (because there is no longer a combo box to hold the list.

    I confirmed the issue by adding a textblock control, with 0 length and 0 width and 0 height to the tab item, in front of the combo box.  This made the problem go away.  So, what I ended up doing was create one of these controls in the part of the screen above the tab control and every tab change, I give that control focus (which ends up being invisible to the user.  This made the behavior go away for all tabs in the tab control.

  5. Kiril Vandov
    Admin
    Kiril Vandov avatar
    324 posts

    Posted 26 May 2015 Link to this post

    Hello Stephen,

    I am glad to hear that you have found a solution to the problem.

    I have tried once again to reproduce the issue based on the new information that you have provided but with no success, maybe there is something specific that I am missing. If you want us to further investigate this issue please attach us a sample project reproducing the issue.

    Please let us know if you need further assistance.

    Regards,
    Kiril Vandov
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top