Bug - submitting form with tooltip element

Support MB Tooltip Bug - submitting form with tooltip elementResolved

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #22965
    DigipawDigipaw
    Participant

    You can submit forms in backend or frontend, when you click on tooltip icon. I don't think that using there a <button> element is a good idea. <div> or <span> could fit better.

    Tested on latest Metabox AIO.
    meta-box-tooltip.php line 163

    #22969
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Thank you for your reporting. I'm going to create a feature request for the developer team change HTML <button> tag to <div> or <span> tag to cover this case.

    #23098
    Long NguyenLong Nguyen
    Moderator

    Solved in the new version of MB Tooltip 1.1.4.

    #23425
    DigipawDigipaw
    Participant

    If someone wants tooltip to work with touch events, then the following script should be added.

    $('.mb-tooltip').click(function(e) { 
      e.preventDefault();
    });
    
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.