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

feat: radix image upload #468

Open
wants to merge 6 commits into
base: feature/a11ymap
Choose a base branch
from
Open

Conversation

kriskbx
Copy link
Contributor

@kriskbx kriskbx commented Dec 18, 2024

This PR is a rewrite of the image upload UI using the radix-ui library.

before testing

Make sure to run npm install and install newly added dependencies.

known issues

There's a bug that causes some flickering when opening the actual dialog. I still suspect that something higher up in the component tree gets rerendered and causes this. In this particular case, this behaviour is even more frustrating as the entire state of the upload dialog gets reset when this happens, effectively removing the selecting image and jumping back to step one. It seems to be related to clicking/interacting with the Browser. Sometimes it also just works... 😄 Keep this in mind, when testing the PR. I will hunt down the rerender bug next and create a separate PR for this.

@kriskbx kriskbx requested review from opyh and Mayaryin December 18, 2024 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant