Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-4958

Impossible to use onblur or onfocus on composite component in mobile

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 9.5.1
    • Components
    • iOS
      Android

      Steps to Reproduce

      Mobile-only.

      <zk>
      	<window border="normal">
      
      		<label multiline="true">
      		1. click the magnifying glass button
      		--> focus is in bandbox, and the text states so (OK)
      		2. click a row in popup
      		--> focus is in bandbox, and the text states so (OK)
      		3. click somewhere else outside the popup.
      		--> you should see "I don't know where is focus" as the message.
      		Or in IE, the bandbox will get the focus without that message.
      		</label>
      
      		<bandbox onFocus='Clients.log("focus is in bandbox")' onBlur='Clients.log("I do not know where is focus")'>
      			<bandpopup style="max-height:330px;" hflex="1">
      				<listbox multiple="true">
      					<listhead>
      						<listheader />
      						<listheader></listheader>
      					</listhead>
      					<listitem>
      						<listcell>
      							<label value="listcell" />
      						</listcell>
      						<listcell>
      							<label value="listcell" />
      						</listcell>
      					</listitem>
      				</listbox>
      			</bandpopup>
      		</bandbox>
      	</window>
      </zk>
      

      Current Result

      When clicking the listitem, it shows "I do not know where is focus".

      Expected Result

      No "I do not know where is focus"

      Or it's right since the Listbox gets the focus instead.

      Debug Information


      Workaround


            DevChu DevChu
            rudyhuang rudyhuang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: