aspen icon indicating copy to clipboard operation
aspen copied to clipboard

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

Open LoganDark opened this issue 3 years ago • 2 comments

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

LoganDark avatar Oct 16 '21 17:10 LoganDark

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?

zikaari avatar Oct 17 '21 00:10 zikaari

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.

LoganDark avatar Oct 17 '21 00:10 LoganDark