-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
[svelte-native] broken custom components with 'src' attribute #6575
Comments
Yeah this sounds reasonable. I think it would make sense to add a check to
this.parent.node.namespace !== namespaces.foreign .
|
@Conduitry i was wondering if should not even put it in the |
Yeah that would be another possibility. I don't have particularly strong opinions one way or the other. It looks like the only other thing that would currently affect would be |
Hi. I fixed this issue. What I didAlready @farfromrefug mentioned that I can fix it after modifying the way of assign value to
ResultBut after fixing up, still, an error occurred in the svelte native. My OpinionI think
Notice: Already I executed all existing tests after change the code and these were passed. Survey MEMOI've investigated the possibility that
It comes if code is like
Thank you for reading!🎈 |
@baseballyama thanks a lot for looking at this. It seems good to me though i am really not an html expert |
Should |
Thank you for the suggestion! Actually now REPL: https://svelte.dev/repl/b7624c2a55dd4b6c8c2bd311a7184f0e?version=3.41.0 According to MDN, Therefore, if So I think regarding |
@Conduitry sorry to bump this. I would like to help but it goes beyond my knowledge. Right we cant update svelte anymore |
Sorry for the reply lately. (Recently my full-time job is extremely busy. So I couldn't anything for Svelte and Kit...) |
@baseballyama dont apologize ! Thank you for taking the time to look at this and for your PR. |
3.42.4 should now avoid the |
@baseballyama @Conduitry thanks a lot ! I ll test and report if any issue is remaining |
Describe the bug
This commit ecbd96a broke svelte-native.
The reason is that we dont have
a
element.I think the handle of
src
attribute should not happen onforeign
namespace.Reproduction
create a simple
svelte-native
project with a listview andimage
component (which has asrc
attribute).It will crash as you scroll with that error:
Logs
No response
System Info
Severity
blocking an upgrade
The text was updated successfully, but these errors were encountered: