sveltestrap icon indicating copy to clipboard operation
sveltestrap copied to clipboard

fix popper issue, fix failing tests & bump dependencies

Open kbsali opened this issue 2 years ago • 5 comments

kbsali avatar May 30 '22 12:05 kbsali

Hello! Is it possible to merge this fix? Thanks Tommy

tommygiesbrecht avatar Aug 29 '22 11:08 tommygiesbrecht

ping @bestguy :) Maybe it is not relevant anymore? I only see now that there has been some activity in early August, that's great news! :) Would it be possible to add contributors with merging auth?

kbsali avatar Sep 19 '22 08:09 kbsali

Thanks @kbsali @tommygiesbrecht , I really appreciate the PRs and desire to fix this for SvelteKit, but none of these fixes and forks changing to '@popperjs/core' correct the root issue, which is why the PRs to change popper imports have not been merged after so long.

I've tried the same in past as I mentioned, but I've been unwilling to break the Svelte REPL. This is not deprecated AFAIK, and I'm a heavy user with Sveltestrap. (I know Sapper is deprecated so I wont worry about that one any longer).

Upgrading to Floating UI won't fix this either, as they continue the process.env usage: https://floating-ui.com/docs/getting-started#package-entry-points , and they have not accepted PRs in past to change this. It's really frustrating but that is their choice.

Only solutions I can think of is:

  • use something other than popper or floating-ui (please suggest if you are aware of libaries)
  • Fork popper and remove process.env and use.
  • Change Svelte REPL rollup config with the workaround popper suggests above. (I can try and PR/issue there, but that repo seems even less responsive than I am! 😅)

I will gladly take any help or ideas that fixes this if it works on svelte.dev
I really do not want to break this!

bestguy avatar Oct 02 '22 03:10 bestguy

This PR was addressing several long standing issues. This is old already, but if I remember well I was not even using the popperjs related component, but without the change I had issue building my project...

kbsali avatar Oct 02 '22 09:10 kbsali

Okay thanks, I'll cherry pick the other changes aside from the popper change.

bestguy avatar Oct 02 '22 14:10 bestguy

too bad PRs are ignored...

kbsali avatar Dec 21 '22 10:12 kbsali