Results 1 to 2 of 2

Thread: Issue with menu items in tooltip

  1. #1
    Sencha User
    Join Date
    Apr 2015
    Location
    India
    Posts
    175
    Answers
    2

    Default Issue with menu items in tooltip

    I have a tooltip and the tooltip has a button with a menu. But when i click on menuItem nothing happens and tooltip hides.
    Please check this fiddle - https://fiddle.sencha.com/#view/editor&fiddle/2v95

    Is there a way to make it work.?

    Thanks,
    Sahil

  2. #2
    Sencha User
    Join Date
    Oct 2018
    Location
    Noida
    Posts
    51
    Answers
    9

    Default

    Hi Sahil,

    The problem in your example is that the menu is rendered outside of tooltip, thats why menu gets hidden before click of any menu items gets performed.

    To resolve that problem you need to make the menu rendered inside the tooltip. There might be many ways to implement that, once of the way is given in the below fiddle -
    https://fiddle.sencha.com/#view/editor&fiddle/2vbf

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •