Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Fix: Remove console error in dev tools #160

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

DiegoMutre
Copy link
Contributor

This fixes #156.

The idea of updating to the latest version came from this issue floating-ui/floating-ui#2534

Further testing is welcome because there are some breaking changes by upgrading @floating-ui/react to the latest version as you can see.

@tyler-dane
Copy link
Contributor

Hey @DiegoMutre , thanks for another PR.

What are the breaking changes you're seeing?

@DiegoMutre
Copy link
Contributor Author

DiegoMutre commented Nov 4, 2024

Hey @DiegoMutre , thanks for another PR.

What are the breaking changes you're seeing?

Hey, @tyler-dane. As you can see, the way of how the useFloating hook is used in the useEventForm is different than how it was used before the upgrade. That's the only change I noticed because the FloatingFocusManager component didn't work correctly after the upgrade.

I haven't checked the changelog carefully of floating-ui to notice any other change. But, regarding the someday event form, everything works fine.

@tyler-dane
Copy link
Contributor

I haven't checked the changelog carefully of floating-ui to notice any other change. But, regarding the someday event form, everything works fine.

OK cool. It sounds like you just needed to adjust how we're using the library to conform to their new APIs, but that no functionality from a user perspective changed.

If that's the case, then the only things that's missing are those other comments I left.

@DiegoMutre
Copy link
Contributor Author

I haven't checked the changelog carefully of floating-ui to notice any other change. But, regarding the someday event form, everything works fine.

OK cool. It sounds like you just needed to adjust how we're using the library to conform to their new APIs, but that no functionality from a user perspective changed.

If that's the case, then the only things that's missing are those other comments I left.

Hey, @tyler-dane. I'm sorry, I don't understand what you mean by comments left.

@tyler-dane
Copy link
Contributor

tyler-dane commented Nov 6, 2024 via email

@tyler-dane tyler-dane added the bug Something isn't working label Nov 7, 2024
@tyler-dane
Copy link
Contributor

Unassigning due to inactivity

@tyler-dane tyler-dane added the good first issue Good for newcomers label Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Someday Form renders console error in dev
2 participants