Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-13925

tooltip: the @onshow is called before the tooltip is displayed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 4.5.2
    • Component/s: component-output
    • Labels:
      None
    • Environment:
    • Steps to Reproduce:
      Hide

      Can be reproduced in Metamer:

      1. deploy metamer and open http://localhost:8080/metamer/faces/components/richTooltip/simple.xhtml
      2. set @onshow=console.log('onshow')
      3. set @showDelay=5000
      4. open developer tools' console (F12)
      5. move mouse over the panel with tooltip (contains text "Panel's content")
        • have: the 'onshow' text appers in console right after the panel is hovered and before the tooltip is displayed
      Show
      Can be reproduced in Metamer: deploy metamer and open http://localhost:8080/metamer/faces/components/richTooltip/simple.xhtml set @onshow=console.log('onshow') set @showDelay=5000 open developer tools' console (F12) move mouse over the panel with tooltip (contains text "Panel's content") have: the 'onshow' text appers in console right after the panel is hovered and before the tooltip is displayed

      Description

      The function @onshow is called before the tooltip is displayed and the VDL mentions The client-side code executed after the popup is shown.

      The @onhide works as expected (after the tooltip is hidden).
      The @onshow work as expected in contextMenu and dropDownMenu (after menu is displayed).

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  michpetrov Michal Petrov
                  Reporter:
                  jstefek Jiří Štefek
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: