| Summary: | [ipad] Fix tooltips on ipad | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Tim Buschtoens <tbuschto> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | tbuschto |
| Version: | 1.4 | ||
| Target Milestone: | 1.4 M7 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 323032 | ||
|
Description
Tim Buschtoens
After playing around a bit i'm very much for showing tooltips above/besides the finger with very little delay. Its often hard to tell if you are hitting the right place, and this would give some feedback. The current implementation of the ipad dom-event-compaibility-layer does not support mouse-move events and fires a mouseout if the finger moves for more than a few pixels, allowing the user to "cancel" the current click. (Changing the target is not posible due to a bug in the touch-api). This way the the user can at least see if a) he is hitting the right target, and b) cancel if he's not. (But only if there is a tooltip, obviously. In case of buttons the label or icon could be displayed instead though.) Fixed in CVS HEAD The following changes were made: - Mobile safari was firing false windowresize-events that closed the tooltip. Now these events are filtered and only processed if the actual window-size changed (EventHandler.js). - Adjusted position and timer (for mobile safari only). - Changed tooltip-behavior (for mobile safari only) to check for mousedown (touchstart) and mouseup (touchend) instead of mouseover/mouseout. - Some minor refactoring/formatting. |