Custom Fields
Re-Envisioned
Support Meta Box Tooltip Bug - submitting form with tooltip element

  • Creator
    Topic
  • #22965
    Resolved Digipaw
    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #22969
    Long 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 Nguyen
    Moderator

    Solved in the new version of Meta Box Tooltip 1.1.4.

    #23425
    Digipaw
    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 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.