Closed codeBasePlusPlus closed 4 years ago
im working to fix it
@codeBasePlusPlus fixed :smile:
📦 @nativescript-rtl/ui@0.1.3
Hi, I have the same problem with RGridLayout, I tried to make your changes but no luck...
@arturikoX did you update the plugin to 0.1.3
?
if yes, can you share error logs and screenshot of your application?
@xlmnxp, Hi, Yes, I updated to 0.1.3, I currently don't have access to the mac but the error was in: https://github.com/nativescript-rtl/ui/blob/b217a573748368122b53bd68492b59c3df6749eb/grid-layout/grid-layout.ios.js#L48
( Same "_this.nativeViewProtected.setRotationY is not a function" thing... )
Thank you !
@arturikoX fixed 📦 @nativescript-rtl/ui@0.1.4
final fix 📦 @nativescript-rtl/ui@0.1.5
Packages: NativeScript: 6.4.0-2020-01-27-072920-14098 "tns-android": { "version": "6.3.1" }, "tns-ios": { "version": "6.3.0" } "@nativescript-rtl/ui": "^0.1.2", "@nativescript/theme": "2.3.0-2020-01-13-101337-01", "nativescript-vue": "~2.4.0", "tns-core-modules": "~6.3.0", " Device: iPhone X 13.3 (English)
Setup:
app.js
Vue.registerElement('RStackLayout', ()=> require('@nativescript-rtl/ui').StackLayout);
Home.vue
Case No.1:
Works 10/10, iOS and android and renders Third Second First
Case No.2:
Android, First Second Third as intended, iOS crashes with this:
Case No.3:
Instead of using isRtl false, used a css class direction: ltr; Android: works as intended. Ios: does not crash but renders the Rstacklayout from RTL as if isRtl is true or direction was rtl.
Basically I can't set Rstacklayout to LTR on iOS without crashing.
Thanks,