Yes the PopupPanel was added on touch start. By the way I use the PopupPresenter <https://github.com/ArcBees/GWTP/wiki/Popup-Presenter> from GWT-Platform. This adds a PopupPanel to the end of the page before </body>
I tried what you recommended. I put the PopupPanel of my page before the touch event starts right after page creation. The structure is like this. <body> < div /> < div /> <gwt-PopupPanel /> </body> Then I hided popup and showed it on touch start. Again there are no events triggered since the mouse was pressed / finger is still on the display when the popup becomes visible. Do you have any other idea how to solve this? Am Montag, 2. Dezember 2013 08:37:55 UTC+1 schrieb Oliver Krylow: > > is the popup panel added to the DOM on touch start? if so, try setting its > visibility to hidden by default and make it visible on touch start. > On Dec 2, 2013 12:25 AM, "confile" <[email protected]<javascript:>> > wrote: > >> I describe the following problem for Mouse Events as well as for Touch >> Events. I want to do the following. Having a click/tab area which has the >> following function: >> >> - If I press the mouse down /touch start in this area a GWT >> PopupPanel should be displayed. >> - While the mouse is still pressed / touch is not released, the >> PopupPanel should be able to handle Events such as MouseOverEvent / >> TouchStartEvent. >> >> I could manage to get the PopupPanel to occur. But, since the mouse is >> still pressed / touch not released there will no events be triggered on the >> PopupPanel. It does not matter if I use FocusPanel or mgwt TouchPanel >> inside the PopupPanel. Events will not be triggered if I enter the >> PopupPanel with the Mouse pressed or Touch pressed. >> >> What the PopupPanel does: >> >> The PopupPanel should serve as a context menu where one can tab, the >> popup menu occurs, one swipes over the popup menu (without releasing the >> mouse/finger) and release the mouse or the finger on the menu item one will >> choose. >> >> Is there a way do enable events inside the PopupPanel when the event >> starts outside? Can I trigger the mousedown or touch start event when the >> PopupPanel occurs such that I can use events when I started the click/touch >> outside of the PopupPanel? >> >> The following image shows this case: >> >> [image: enter image description here] >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Web Toolkit" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to >> [email protected]<javascript:> >> . >> Visit this group at http://groups.google.com/group/google-web-toolkit. >> For more options, visit https://groups.google.com/groups/opt_out. >> > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
