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

PromptHandle.ProxiedInput only supports className, style, and id props #18

Open
LoganDark opened this issue Oct 16, 2021 · 2 comments
Open

Comments

@LoganDark
Copy link

This breaks style scoping, as the attributes which allow my styles to apply are not properly passed through to the input

@zikaari
Copy link
Owner

zikaari commented Oct 17, 2021

I knew this day would come. Prompt implementation is probably the ugliest part of aspen. I'm re-working the implementation of Prompts for aspen 2. For now, which attribute do you need a passthrough for?

@LoganDark
Copy link
Author

I knew this day would come. Prompt implementation is probably the ugliest part of aspen. I'm re-working the implementation of Prompts for aspen 2. For now, which attribute do you need a passthrough for?

A randomly generated data-v-<hash> attribute. For now I'm using unscoped CSS, maybe I could have manually applied the attribute to the prompt.$ input element directly as well, but this works fine.

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

No branches or pull requests

2 participants