[CLOSED] ComboBox Focus Expanded

Page 1 of 2 12 LastLast
  1. #1

    [CLOSED] ComboBox Focus Expanded

    Last edited by Daniil; Jan 16, 2013 at 3:04 PM. Reason: [CLOSED]
  2. #2
    Hi,

    There is a problem with this because, when the page is loaded, and the combo have the focus its not collapsed. The combobox appears expanded, not collapsed.
    Please clarify the steps. Does it happen after the page is just loaded? Or does a user need to focus the ComboBox and/or select its item?
  3. #3
    Hi,

    What I want is to automatically set the focus on the first field of the page in order to allow user to easilly fill all the formusing the Tab.

    Answering your question, when the page opens, just loaded (that is, when the Handler="#{cbChn}.focus();" is executed), the combo is expanded, without any user interaction.

    Regards

    Quote Originally Posted by Daniil View Post
    Hi,



    Please clarify the steps. Does it happen after the page is just loaded? Or does a user need to focus the ComboBox and/or select its item?
  4. #4
    Thanks for clarification, I understand the problem now.

    Please try to set up
    AutoFocus="true"
    for the ComboBox instead of
    <Listeners>
        <Render Handler="#{cbChn}.focus();" Delay="100" />
    </Listeners>
  5. #5
    Thank you for your answer Daniil.

    I have done the change you have suggested. However, the combobox continues showing expanded (I attach a capture) without any user interaction.

    Click image for larger version. 

Name:	ComboBoxOnLoad.gif 
Views:	197 
Size:	5.4 KB 
ID:	4548

    Quote Originally Posted by Daniil View Post
    Thanks for clarification, I understand the problem now.

    Please try to set up
    AutoFocus="true"
    for the ComboBox instead of
    <Listeners>
        <Render Handler="#{cbChn}.focus();" Delay="100" />
    </Listeners>
  6. #6
    What browser do you testing with?

    Does setting up this
    AutoFocusDelay="500"
    for the ComboBox help?
  7. #7
  8. #8
    I can't reproduce the issue using the code you provided in the initial post.

    Please provide a full sample.
  9. #9
    Last edited by Daniil; Jan 16, 2013 at 6:18 AM. Reason: Replaced [QUOTE] with [CODE]
  10. #10
    Hi,

    Yes, please provide a full (but simplified) and runnable test case to reproduce the problem.
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 3
    Last Post: Nov 05, 2013, 9:34 AM
  2. [CLOSED] How to Populate Combobox on Focus?
    By ISI in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Aug 01, 2011, 5:16 PM
  3. [CLOSED] [1.0] Selecting Combobox expanded list item through Tab key
    By r_honey in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Jun 02, 2010, 4:54 PM
  4. [CLOSED] ComboBox Blur or Lose Focus
    By Steve in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 03, 2009, 3:55 AM

Tags for this Thread

Posting Permissions