-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
Hi, thanks for this wonderful package!
Describe the bug
The breakpoints
attribute leaks to the img node in Vue.
To Reproduce
Steps to reproduce the behavior:
- Go to https://stackblitz.com/edit/vitejs-vite-qwwlj8bp?file=package.json,src%2FApp.vue&terminal=dev
- Inspect img node
- See the breakpoints attribute in the DOM
Expected behavior
Breakpoints shouldn't leak to the img node.
I might be wrong, but breakpoints seem to be missing from the typescript props, hence the leaking.
unpic-img/packages/vue/src/base/image.vue
68E8 Line 10 in b71619f
export interface Props<TOperations extends Operations, TOptions> extends /* @vue-ignore */ ImgHTMLAttributes { export interface Props<TOperations extends Operations, TOptions> extends /* @vue-ignore */ SourceHTMLAttributes { unpic-img/packages/vue/src/image.vue
Line 9 in b71619f
export interface Props extends /* @vue-ignore */ ImgHTMLAttributes { unpic-img/packages/vue/src/source.vue
Line 9 in b71619f
export interface Props extends /* @vue-ignore */ SourceHTMLAttributes {
Metadata
Metadata
Assignees
Labels
No labels