halfnelson / svelte-native

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

perf: Use ContentView for nesting ListView items #351

Open CatchABus opened 1 year ago

CatchABus commented 1 year ago

Right now, ListView items are nested inside StackLayout. That is because of the strange behaviour of core which nests ProxyViewContainer inside StackLayout in the case of lists.

With this PR, we'll use ContentView which is a more lightweight solution. Regarding the extra padding issue, it seems to be NativeScript theme's fault.