Allan Lasser

Results 93 comments of Allan Lasser

During triage, we agreed that a button on the project embed that opens the project in a new tab/window is the best approach for now.

https://stackoverflow.com/questions/71360354/redirecting-from-exported-handle-hook-in-sveltekit

@eyeseast Is this customization all related to the Project embed?

To get a bounding box for selected text: ```js var selection = window.getSelection(); var getRange = selection.getRangeAt(0); getRect = getRange.getBoundingClientRect(); ``` via [StackOverflow](https://stackoverflow.com/a/50273718/4256689) Easy! From here, we can use `@floating-ui`...

What's nice is we already have this via Chromatic! https://master--6567908438a7a23eba571d04.chromatic.com/ should always track the Storybook for the `master` branch. Change the URL to see Storybooks for other branches. We can...

Should we prefer one over the other?

This is a good critique. You're right that only styling is really being applied, and proxying all the input props is not very elegant. Counterpoint to consider: Using the `Field`...

After thinking about this more, I believe you are correct that using global styles with standard elements is the right approach 👍