Hi,

I'm writing because I'm not sure how to fix an issue and I thought I'd see if folks have any ideas.

In DHTML, there are two separate trees of divs - one for visual objects, and another for clickable elements.

<div id="lzappContainer">
    <div class="lzcanvasdiv">
        ...visual objects...
    <div>

    <div id="lzcanvasclickdiv">
        ...clickable objects...
    </div>
</div>

One reason we use a separate div for clickable objects is to ensure inputtext elements aren't accidentally focused by mouse clicks that aren't intended for them. When an inputtext is focused/activated, it is moved to the tree of clickable elements so it can receive mouse events ane become editable. This can lead to a bug because the inputtext is placed physically above any other visual resources, e.g. windows that are dragged in front of it.

See http://jira.openlaszlo.org/jira/browse/LPP-5447 for more.

Let me know if you have any ideas!

--
Regards,
Max Carlson
OpenLaszlo.org

Reply via email to