halfnelson / svelte-native

Svelte controlling native components via Nativescript
MIT License
1.82k stars 78 forks source link

fix: setting an attribute to null would not update N view #338

Closed farfromrefug closed 1 year ago

farfromrefug commented 1 year ago

In svelte if an attribute is set to null it calls removeAttribute for which NativeElementNode does nothing. But N needs to know of the change. So we call setAttribute