Commit Graph

934 Commits

Author SHA1 Message Date
Alexander Vakrilov
1db1e81174 docs: document eachChild callback function (#6253) 2018-09-17 22:34:26 +03:00
Alexander Vakrilov
12fade7155 fix: Page and Frame isLoaded undefined checks (#6255)
* fix(view): isLoaded handling

closes https://github.com/NativeScript/NativeScript/issues/6179

* refactor: Error handling code in onCreateView
2018-09-17 15:37:29 +03:00
Alexander Vakrilov
8575c60b13 fix(modals): application activityBackPressed event not fired for modals (#6261) 2018-09-17 15:37:16 +03:00
Martin Guillon
8a5f73055e fix(gestures)propagate touch to parent so that gestures can work (#6171)
* propagate gesture touch to parent so that gestures can work

* test: swipe passtrough test
2018-09-17 10:11:50 +03:00
Martin Yankov
16a131f040 Merge branch 'master' into ios-safe-area 2018-09-10 16:13:25 +03:00
Manol Donev
cca548d31a refactor: AndroidFrame.hasOwnActivity cleanup (#6241) 2018-09-10 11:25:08 +03:00
Manol Donev
ca0043701b refactor: remove obsolete ViewHelper.setBackground method (#6240) 2018-09-05 17:35:59 +03:00
Vasil Chimev
e1828d56cd refactor: rename iosExpandSafeArea to iosOverflowSafeArea
Update type definitions.
2018-09-04 11:26:20 +03:00
Vasil Chimev
4379760dab refactor: delete isContentScrollable function
BREAKING CHANGES:

The `scrollableContent` property is no more - use `iosExpandSafeArea` instead.
2018-09-04 10:25:28 +03:00
Martin Yankov
4fceb54451 fix tabview safe areas 2018-09-04 10:23:35 +03:00
Martin Yankov
4f8d4a66cd fix scrollview 2018-09-03 14:48:18 +03:00
Manol Donev
43f0fd0ffc refactor: remove ununsed Layout class (#6228) 2018-08-31 15:00:16 +03:00
Vasil Chimev
9f8d15701f refactor: add locationInWindow usage 2018-08-30 15:11:22 +03:00
Martin Yankov
8f2268b492 add safe area support to flexbox 2018-08-29 16:10:32 +03:00
Martin Yankov
f3b3a47eaa remove rounding when conversing to native pixels 2018-08-29 16:07:23 +03:00
Vasil Chimev
fc64bfb551 chore: fix a tslint error 2018-08-29 13:30:30 +03:00
Vasil Chimev
3c43657cdc refactor: View.applySafeAreaInsets(frame)
Split to `ios.shrinkToSafeArea()` and `ios.expandBeyondSafeArea()`.
Update trace logs.
2018-08-29 11:22:21 +03:00
Vasil Chimev
b8fec327dd refactor: update safe area traces 2018-08-28 18:15:04 +03:00
Martin Yankov
cb02597d61 make webview to inherit from ContainerView 2018-08-28 18:15:04 +03:00
Martin Yankov
c2f31855f8 remove locationOnScreen usage 2018-08-28 18:15:04 +03:00
Martin Yankov
76d4ee55bb change the default values for android safe area 2018-08-28 18:15:04 +03:00
Martin Yankov
d9d847ec91 move frame position conversion methods to ios namespace 2018-08-28 18:15:04 +03:00
Martin Yankov
261d94037f remove getSafeArea and geFullscreen methods 2018-08-28 18:15:04 +03:00
Martin Yankov
30731e000c enable iosExpandSafeArea property on Views too 2018-08-28 18:15:04 +03:00
Vasil Chimev
29b8258c36 feat: apply insets to flexbox row layout 2018-08-28 18:15:04 +03:00
Vasil Chimev
75b06560c1 feat: apply insets to absolute layout 2018-08-28 18:15:04 +03:00
Vasil Chimev
0be61d643d feat: apply insets to dock layout 2018-08-28 18:15:04 +03:00
Vasil Chimev
e414369d2c feat: apply insets to repeater 2018-08-28 18:15:04 +03:00
Vasil Chimev
1c94c38491 feat: add iosExpandSafeArea property
Also apply insets on page's children.
2018-08-28 18:15:04 +03:00
Martin Yankov
13795fd949 apply bottom and right safe area inset to views 2018-08-28 18:15:04 +03:00
Martin Yankov
03e7644a8e layout viewcontroller in fullscreen if has childviewcontrollers 2018-08-28 18:15:04 +03:00
Martin Yankov
fe78210709 fix iOS 10 fictional safe area layout 2018-08-28 18:15:04 +03:00
Martin Yankov
f6ea9797f3 fix ts errors 2018-08-28 18:15:04 +03:00
Martin Yankov
2ccfb36ca7 refactor safe area application code 2018-08-28 18:15:04 +03:00
Vasil Chimev
3ab53ed26c fix(scroll-view): wrong locationOnScreen rounding 2018-08-28 18:14:13 +03:00
Vasil Chimev
a3a86f1f42 fix(scroll-view): apply insets to layoutChild method
Delete `*-nav-page.*` files reproducing the issue.
Update `home-page.xml` with `ScrollView` to reproduce the issue.
2018-08-28 18:14:13 +03:00
Vasil Chimev
1544023595 refactor: wrap layout 2018-08-28 18:14:12 +03:00
Vasil Chimev
86a24b2cf1 refactor: wrap layout safe area support 2018-08-28 18:14:12 +03:00
Martin Yankov
77bba75564 add listview support for safe area 2018-08-28 18:14:12 +03:00
Vasil Chimev
96df688826 refactor: apply insets to wrap layout 2018-08-28 18:10:19 +03:00
Martin Yankov
0571f4a97d add safe area support for scroll view 2018-08-28 18:10:19 +03:00
Martin Yankov
8a624e4cc7 fix safe area for ios 10 and less 2018-08-28 18:10:19 +03:00
Martin Yankov
9b7b060cd4 add right and bottom to insets 2018-08-28 18:10:19 +03:00
Martin Yankov
ec5fc4b07e ensure correct position values after safe area reposition 2018-08-28 18:10:19 +03:00
Martin Yankov
f056362d45 feat(ios): enable safe area for stack and grid 2018-08-28 18:10:19 +03:00
Manol Donev
a1c570c702 fix(ios): nowrap label measure in horizontal stack layout (#6186) 2018-08-17 18:24:06 +03:00
Manol Donev
a8d016c6d7 fix(ios): listview scrollToIndex crash with async data (#6182) 2018-08-17 17:09:48 +03:00
Manol Donev
0f2192d4d7 refactor: clean up unused sdkVersion lazy eval (#6194) 2018-08-17 17:04:44 +03:00
Manol Donev
22cb539c9d fix(android-next): force frame fragment disposal on unload (#6189) 2018-08-17 11:31:44 +03:00
Alexander Vakrilov
ec24c5a96f fix(list-view): Layout list-view items on request (#6159)
* test: list items relayout example

* fix(list-view): Layout list-view items on request

* refactor(tests): refactor list-view tests imports
2018-08-09 18:19:56 +03:00