wikipedia-preview icon indicating copy to clipboard operation
wikipedia-preview copied to clipboard

Init with popupContainer results in Error: Uncaught (in promise): TypeError: e.appendChild is not a function

Open tarekeldeeb opened this issue 1 year ago • 1 comments

  1. Installed the package through npm (v1.9)
  2. Tried to run the example
  3. Module loads and init function is called
  4. Get an error:
main.ts:12 ERROR Error: Uncaught (in promise): TypeError: e.appendChild is not a function
TypeError: e.appendChild is not a function
    at jd (wikipedia-preview.js:4661:108)

tarekeldeeb avatar Dec 26 '23 12:12 tarekeldeeb

Hi @tarekeldeeb can you post your entire script including

hueitan avatar Jan 02 '24 08:01 hueitan

I am closing this ticket, as I believe the issue has been fixed in a later commit. Please feel free to reopen this if you encounter the same problem again.

hueitan avatar Aug 22 '24 07:08 hueitan