I load a piece of html from an external file and add wrap it in a HTMLPanel, and add a ClickHandler to the HTMLPanel to catch click events anywhere on the loaded html. However, that doesn't work, I not catch any click event :(
The click handler is added as Dom handler.
However, if I add a TextBox, the click handler will receive clicks made on the added TextBox. So event do bubble up on new widgets that are added, but not on existing html.
I thought it might be because of bootstrap css that I use (container, row and col styles), but removing them had no effect.
The HTMLPanel has a background color and is wrapping all loaded html.
How to solve this?
- Ed