SolidJSS
SolidJS8mo ago
34 replies
Paul

@Floating-ui/solid port. 2 stories don't work.

Hello.

Firstly, thank you for taking a look at this humble support request. 😄 I do apologise in advance for the body of work this will entail. There is quite a lot of code to go through and due to that. This will probably take some time to not only understand the problem but also to provide a fix.

So I appreciate anyone who takes a look! Thank you! 🙇‍♂️

Code: https://github.com/paulm17/floating-ui
Steps:
- Fork it: git clone https://github.com/paulm17/floating-ui
- cd floating-ui, pnpm i
- cd packages/utils, pnpm build
- cd packages/dom, pnpm build
- cd packages/core, pnpm build
- cd packages/solid, pnpm build
- cd apps/solid_docs, pnpm storybook


3 stories do not work - forgot 1 😮‍💨:

1) FloatingDelayGroup

Once the tooltip has appeared, it should show immediately upon every next button hovered. Instead there is always a delay. The 2 lower buttons should always have a delay.

2) FloatingTree

2A) The floating popup disappears once the mouse enters a menu item. Note: sometimes it works but...

2B) then crashes once a submenu is opened.

3) FloatingList

The solid version seems to want a context, when the react version doesn't. 🤷‍♂️

Note: don't worry about tests when making changes. Just getting to a point where this works is more than enough. 🚀

Finally, there is a react storybook for reference:
- cd apps/react_docs, pnpm storybook
Was this page helpful?