atomiks / tippyjs

Tooltip, popover, dropdown, and menu library
https://atomiks.github.io/tippyjs/
MIT License
11.86k stars 520 forks source link

Without the document type declaration, it NOT works successfully. #1047

Open itogen opened 2 years ago

itogen commented 2 years ago

Bug description

Without the document type declaration <!DOCTYPE html> , it NOT works successfully.

So I wish it was added the declaration to usage : https://atomiks.github.io/tippyjs/v6/getting-started/


With the declaration, it works successfully. with_declaration


Without declaration, it NOT works successfully. without_declaration


Thanks for the awesome library <3

atomiks commented 2 years ago

https://popper.js.org/docs/v2/faq/#why-is-my-popper-in-the-wrong-location-or-not-visible-at-all

Note: we found this out after we made adaptive: true the default (it likely shouldn't be the default, but that's a breaking change).