Click on disabled TextBox

0
0

Hi guys,

I think I discovered a bug.  Maybe.

We have an app with various Panels, and various TextBoxes, Buttons, and Labels on the panels.  The TextBoxes/Buttons are initially disabled, but if you click the Panel, then it enables them on that Panel.

It seems that if I click on a disabled TextBox, then the click isn’t propagated up to the parent Panel.  If the TextBox is enabled, it does propagate the click up.  The Buttons propagate the Click up when disabled, as do the Labels, just not the TextBoxes.

The same app works with WinForms.  Is this a bug, or am I doing something wrong.

Thanks!

David Muse

david.muse@firstworks.com

  • You must to post comments
0
0

Yes!  That fixed it.  Woohoo!

Thanks!

  • You must to post comments
1
0

It appears to be a bug/feature of Firefox. Most (all?) browsers bubble up pointer events from disabled. Firefox doesn’t and simply drops the events. Try adding this to Default.html in <head> or in a css file if you are using one for the app (without <style>)

<style>

input[disabled] {

pointer-events:none;

}

</style>

 

  • You must to post comments
0
0

Could you double-check?

I just tried 1.4.32 and the bug appears to still be present.  If I click on the border, or maybe 1 or 2 pixels inside of the textbox, then it works, but if I click in the middle of the area where you would type, then it doesn’t appear to propagate the Click up to the parent.

  • You must to post comments
0
0

Hi David,

WJ-8450 is fixed in the latest Wisej release (1.4.32).

Best regards
Frank

  • You must to post comments
0
0

Thanks!

  • You must to post comments
0
0

Hi David,

thanks, I have logged WJ-8450 for that issue. We´ll check and inform you when a fix is available.

Best regards
Frank

  • You must to post comments
Showing 6 results
Your Answer

Please first to submit.