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

leaving an input widget and opening a popup in the same click prevent blur on the input on IE11

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.0.3
    • 8.0.2
    • None
    • Security Level: Jimmy
    • None
    • ZK 8.0.3 S4

      On IE V11.420.10586.0 - UV11.0.32

      Set focus in the input
      Click the button directly to open the menu popup
      blur doesn't happen on input (this also cause onChange, etc to no be process as they depend on blur)

      <zk>
      	<div xmlns:w="client">
      		<script>
      			function handleBlur(){
      				var text = zk('$target').$().getValue() + 'did blur - ';
      				console.log(text);
      				zk('$target').$().setValue(text);
      				
      			}
      		</script>
      			<textbox id="tx1" w:onBlur="handleBlur()" />
      			<menupopup id="mp">
      				<menuitem label="test popup" />	
      			</menupopup>
      			<button onClick="mp.open(self)"/>
      		</div>
      	<textbox width="600px" id="target"/>
      </zk>
      

            SEFI SEFI
            MDuchemin MDuchemin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours
                3h