Alexander Djenkov
c54e069f57
fix(ios-action-bar): NavigationButton cannot be hidden if navigating with transition ( #5451 )
2018-02-26 09:44:58 +02:00
Manol Donev
4898c33a04
fix-next(modal) fix crash when closing modal dialog with root tabview inside ( #5446 )
2018-02-23 16:46:49 +02:00
Martin Yankov
4ce45666a5
test: add reset root view tests ( #5437 )
2018-02-21 11:38:37 +02:00
Alexander Djenkov
714af6bb02
fix(ios-frame): do not update backstack when navigating the same page ( #5426 )
2018-02-19 11:53:04 +02:00
Alexander Djenkov
b8e0beccdd
fix(ios-layouts): switch contentInsetAdjustmentBehavior on ScrollView ( #5411 )
...
* fix(layouts): switch contentInsetAdjustmentBehavior on ScrollView
* chore(ui-tests-app): add test for ScrollView as a root Page element
2018-02-15 09:27:16 +02:00
Manol Donev
2edef3de3b
fix(frame): root tabview with modal frame when suspend/resume app ( #5408 )
2018-02-12 16:09:51 +02:00
Martin Yankov
b113b0021a
feat: Add methods to get the root view and set a different root view at run time ( #5386 )
...
* feat: add option to set a different root view at run time
* feat: expose application getRootView method
* refactor: Introduce ViewEntry interface
* fix: Respect root view rturned from launch event in Android
* refactor: getRootView() code + caching root view per activity.
* refactor: add app-root.xml in apps
* refactor: http test made async
2018-02-09 16:04:20 +02:00
Alexander Djenkov
f8dce08f0e
feat(tab-view-android): enable tabs repositioning ( #5385 )
...
* feat(tab-view-android): enable tabs repositioning
* feat(tab-view-android): enable tabs repositioning
* chore(apps): add bottom tab view example
2018-02-08 11:06:07 +02:00
Manol Donev
85dc75e09a
fix-next: navigation events' workflow in modal dialog scenarios ( #5341 )
2018-02-06 19:18:28 +02:00
Martin Yankov
f042417f10
refactor(android-tabview): tab adapter data changed event is called too many times ( #5364 )
2018-02-05 13:52:32 +02:00
Alexander Vakrilov
c0a7a45ab9
refactor: Handle TS2.7 stricter tuples checks ( #5366 )
2018-02-01 13:04:55 +02:00
Martin Yankov
2b843195e4
fix-next(android-tabview): handle tab fragments attach/detach properly ( #5333 )
2018-01-29 17:25:36 +02:00
Dimitar Tachev
01fab68e58
feat: support intent replacement in the android activity ( #5337 )
2018-01-29 16:54:07 +02:00
Alexander Djenkov
9d7f0e5315
fix(frame): recreate frame if no cached one found on app resume #5318 ( #5330 )
2018-01-25 11:37:47 +02:00
Alexander Djenkov
af934ccabf
feature(frame): introduce src property ( #5320 )
2018-01-25 10:57:13 +02:00
Alexander Vakrilov
923d48b23a
fix: layoutParent crash with ProxyViewContainer ( #5315 )
2018-01-24 18:27:00 +02:00
Alexander Vakrilov
b492996647
fix(layouts): Set automaticallyAdjustsScrollViewInsets ( #5311 )
2018-01-23 17:53:31 +02:00
Hristo Hristov
016c64fe04
showModal & closeModal can be called on any View
...
fix livesync implementation to be compatible with 3.4 and to replace mainEntry for 4.0 when root is not Frame
some refactoring of page.ios in order to allow showing multiple modal dialogs
2018-01-18 13:34:25 +02:00
Hristo Hristov
9dd3e1a807
Fix crash with nested frames navigation when aactivity is recreated. We now check if frame native view is atached to window before running navigation.
...
Livesync now recreates the main page instead of calling frame.navigate
2018-01-15 18:07:20 +02:00
Hristo Hristov
3f2f5f41f0
Fix page styleScope for iOS
2018-01-12 12:43:55 +02:00
Hristo Hristov
ef86addd6d
Fix Page to be styleScope if frame is not
2018-01-12 10:23:54 +02:00
Hristo Hristov
1e690a7b83
Add more typings to methods
2018-01-11 13:37:30 +02:00
Hristo Hristov
18fe9392d6
Fix memory leak in edit-text.android
...
Fix fromObjectRecursive to doesn't override source object
2018-01-11 13:25:03 +02:00
Hristo Hristov
82f081d603
fix android keyboard
2018-01-10 17:45:08 +02:00
Hristo Hristov
3384112ce8
When application start is called we don't set Frame to be styleScope
...
Added requestLayout for TextView
Round desiredSize in nativeMeasure
2018-01-09 13:17:50 +02:00
Hristo Hristov
8df8d754ab
Fix Enter key not moving caret on next line in TextView for android
...
Fixes #5121
2017-12-20 10:31:39 +02:00
Hristo Hristov
058a216ac9
Move styleScope from Page to View
...
Fix image-source test for API 27
setupAsRootView now makes the component styleScope
set css, addCss & addCssFile makes view to be styleScopeHost which cannot be overriden later from parent
Android modals now call setupAsRootView
Small fixes on ios layouts
launch event fired in andriod too
Moved some requestLayout calls to ios files where they belongs
2017-12-19 16:35:15 +02:00
Hristo Hristov
63ab46eb2a
Layout improvements
2017-12-15 17:11:51 +02:00
Hristo Hristov
33cd058718
Call loaded/unloaded on the rootView when application is resumed/suspended
...
Remove dead code from frame.ios
2017-12-15 15:26:23 +02:00
Hristo Hristov
4e74c37313
Fix android crash TabViewItem canBeLoaded was true even when TabView was destroyed
...
Fix android crash modal view was not destroyed even though his dialog was
2017-12-15 13:08:15 +02:00
Hristo Hristov
365d48550f
Revert Page.android onContentChange to addViewToNativeVisualTre due to Angular issue with ProxyViewContainer
2017-12-15 13:08:15 +02:00
Hristo Hristov
c0d3a4048d
Fix ListView itemClick for android
2017-12-15 13:08:15 +02:00
Hristo Hristov
a416fa4fb6
Fix TabViewItem loading
...
Fix showModal not on full screen
2017-12-15 13:08:15 +02:00
Hristo Hristov
0abfb1493c
Fix crash on API17 and API21-25
2017-12-15 13:08:15 +02:00
Hristo Hristov
ac04ede97e
Implemented showModal on View
2017-12-15 13:08:15 +02:00
Hristo Hristov
04c1132541
Fix broken merge conflict
2017-12-15 13:06:34 +02:00
Hristo Hristov
28f1a5875e
Fix crash on android where we queue few back navigations an exception is thrown.
...
Fix https://github.com/NativeScript/NativeScript/issues/4986
2017-12-15 13:06:34 +02:00
Hristo Hristov
edb0eb1721
Bring back ios property of CustomLayoutView
2017-12-15 13:06:34 +02:00
Hristo Hristov
1778ba1eb9
Fix showModal on iOS
2017-12-15 13:06:34 +02:00
Hristo Hristov
b489e52a5f
Fix iOS 11 titleView misplacement in ActionBar
2017-12-15 13:06:34 +02:00
Hristo Hristov
501b954c47
Fix issue with angular not rendering...
2017-12-15 13:06:34 +02:00
Hristo Hristov
a35e603d85
Fix to always get the same bounds no matter if we are shown modally or not (for iOS).
...
Remove code that moves actionBar when there is incoming call. We now depend on the autolayout to position us correctly.
_addView, _removeView won't request layout for iOS.
LayoutBase: addChild & remvoeChild will request layout.
ContentView: content change will request layout.
2017-12-15 13:06:34 +02:00
Hristo Hristov
53b92ad83a
Fix broken TS
2017-12-15 13:06:34 +02:00
Hristo Hristov
5bcccd28a8
Fix: when page disappears because parent viewController is removed (e.g. selecting different tab in TabBar) our navigation stack was incorrectly removing backstack entry. This fix may not work if the tab is hosted in Page but it is unlikely that someone will host Page->TabView->Frame->Page
2017-12-15 13:06:34 +02:00
Hristo Hristov
1ee686d9bc
Remove list-view.ios contentInsetAdjustmentBehavior (it should be defult)
2017-12-15 13:06:34 +02:00
Hristo Hristov
2a10b7a220
Remove public iOS types from view.d.ts
2017-12-15 13:06:34 +02:00
Hristo Hristov
a7ae124ad8
ActionBar is measured the moment we create native buttons otherwise it won't show correctly
2017-12-15 13:06:34 +02:00
Hristo Hristov
f3aecad369
ScrollingContent is not checking innerviews anymore
2017-12-15 13:06:34 +02:00
Hristo Hristov
199d83c902
Generated platforms declarations for iOS 11
...
Fixed broken unit-tests
ios layout now run only for the innermost viewcontoller
ios layout for viewcontrollers now implemented with constraints
Added ios11 safeAreas layout support
onMeasure back for frame and tab-view so that they won't throw exception if measure is called on them
Page parents layout updated after page is layout so that inner layout flags are correct
2017-12-15 13:06:34 +02:00
Hristo Hristov
38d026a3df
Fix tslint
...
Revert code that set currentEntry in fragment.transitions.android
Update tests & apps runtime version
Fix broken import in frame-tests
Revert TabView to fire loaded for all TabViewItems
2017-12-15 13:06:34 +02:00