402 Commits

Author SHA1 Message Date
dca77183d1 fix(ios): proper cleanup of reused listview cell content (#10603) 2024-08-07 22:50:48 -07:00
499fe8dc82 perf(core): avoid setting the same value to view properties (#10602) 2024-08-07 17:28:15 -07:00
75c8e941a0 fix(ios): proper drawing bounds for colored borders (#10600) 2024-08-05 15:42:13 -07:00
f7b9d06e91 fix(android): RootLayout shade cover null color handling (#10599) 2024-08-05 15:40:46 -07:00
89fa6ec84d fix(android): layout change listeners are ignored when using addEventListener (#10597) 2024-08-05 15:07:37 -07:00
a703d9a7a1 chore: cleanup log (#10586) 2024-07-14 09:34:08 -07:00
6041b2d083 fix(gestures): lowercase gesture handling and add deprecation notice when using non-string events (#10581) 2024-07-10 19:05:10 -07:00
7f2d51e7d0 revert: "perf: improve attribute selectors by adding single listeners (#10384)" 2024-07-04 10:33:45 -07:00
7e9be32e28 fix(android): prevent error while opening modal from background (#10570)
It is a known android "issue" that you cant commit/show a fragment while in background. The reason is, as explained [here](https://medium.com/@113408/avoid-fragment-illegalstateexception-can-not-perform-this-action-after-onsaveinstancestate-ba76ae4f00fe) or [here](https://stackoverflow.com/questions/15729138/on-showing-dialog-i-get-can-not-perform-this-action-after-onsaveinstancestate), that `onSaveInstanceState` is already called so any operation before activity start would be with state loss.
There are 2 solutions in this case:
* use `commitAllowingStateLoss`, `dismissAllowingStateLoss` ... but then you loose state ... This is what we are doing in N in many cases. We can do this with `show` too but we would need to override the `DialogFragment.show` method.
* delay the action until the activity is resumed.

This PR uses the second solution. We could add an option to `showModal` to use the first solution. The user experience is different. Solution 1:  when the app is resumed the modal is already shown and layed out. Solution 2: you see the modal opening on app resume
2024-07-03 12:23:01 -07:00
80f3ff2042 feat(ios): SF Symbol scale support via iosSymbolScale (#10569) 2024-07-02 16:26:40 -07:00
779d79285d feat(core): ability to embed into platform host projects (#10465) 2024-07-01 16:47:33 -07:00
9fd361c2e6 feat(core): css media query support (#10530) 2024-07-01 09:28:59 -07:00
6dd441d6ba perf(android): gridlayout with less JNI calls (#10402) 2024-07-01 09:20:14 -07:00
7036f12b5c fix(android): prevent error on navigation back after using page transition (#10439) 2024-06-28 16:15:40 -07:00
4abcb216da feat(android): background color/image handling improvements (#10451) 2024-06-28 15:07:10 -07:00
bb83addb5c perf: improve attribute selectors by adding single listeners (#10384) 2024-06-28 14:55:12 -07:00
2fb4f23670 feat(core): css-what parser for CSS selectors + support for :not(), :is(), and :where() Level 4 and ~ (#10514) 2024-06-28 13:57:29 -07:00
88a047254b fix(android): dont add to parent from _setupAsRootView (#10554) 2024-06-28 13:44:36 -07:00
12dd329ed1 fix(action-bar): provide correct page during navigation when title change occurs (#10563) 2024-06-27 19:21:29 -07:00
d678915234 feat(core): add sys:// support for SF Symbol usage on images with effects (#10555) 2024-06-26 15:34:24 -07:00
84e1a67d6d fix(view): modal stack tracking (#10557) 2024-06-16 12:40:40 -07:00
9e472d7874 docs(core): update comments for on, once, addEventListener and removeEventListener (#10545) 2024-05-23 08:26:03 -07:00
9be392fbb0 fix(core): drop support for plural event/gesture names (#10539) 2024-05-06 18:20:28 -07:00
d323672b29 fix(core): handle GestureObservers same as event listeners (#10538) 2024-05-06 17:50:01 -07:00
3b77fffad5 fix(core): stop accepting GestureTypes enum as an eventName (#10537) 2024-05-06 11:04:53 -07:00
4a7e40d129 fix(core): clean up event handling in ViewCommon (#10534) 2024-05-02 00:03:08 -07:00
53e958e623 fix(core): clean up event handling in Observable (#10531) 2024-05-02 00:02:01 -07:00
632a348e9a fix(android): transition state handling (#10528) 2024-04-24 09:10:00 -07:00
03268cc60b fix(android): ListView tap handling after setting children as focusable (#10522) 2024-04-19 09:06:32 -07:00
7e1cb19084 fix(android): image tintColor setter (#10516)
closes https://github.com/NativeScript/NativeScript/issues/10515
2024-04-15 12:02:18 -07:00
92b2ff83a0 fix: regression fix for #10482 (#10518)
where `WebView` would have `setFocusable` set to false `isUserInteractionEnabled` was true.
This would prevent input with keyboard to work in `WebView`

Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
2024-04-15 10:29:12 -07:00
873f711a6b revert: "fix(android): proper change of input interaction mode programmatically (#10434) (#10512)
This reverts commit 07d2129f9c9b387c238c9a7c2da29b5690bac986.
2024-04-14 17:07:25 -07:00
5324e508ba feat(android): devtools for elements & network requests (#10506) 2024-04-07 10:27:42 -07:00
01d537bf15 feat(visionos): ui-mobile-base supporting xros plus improvements to window handling (#10478) 2024-04-05 17:07:16 -07:00
9ca490250e feat(ios): allow disabling text animations (#10505) 2024-04-03 15:59:10 -07:00
3a486e540c fix(ios): unset cached frame before updating origin point (#10499) 2024-04-02 12:34:14 -07:00
d67d297e37 feat(ios): allow custom navigationBar and toolbar on frame (#10495) 2024-04-02 12:29:09 -07:00
4b36334d01 ci: tests 2024-02-11 21:50:31 -08:00
3bd6d9b01e perf: disable accessibility for layout views (#10482)
a11y is enabled by default on controls still, this just disables on layouts alone as unnecessary.
It can be enabled on a per layout view basis if needed anytime.
2024-02-10 10:25:04 -08:00
3a0afdb9cc feat(SegmentedBar): selectedTextColor added and selectedBackgroundColor improvements (#10474) 2024-01-19 10:39:59 -08:00
31ed40c17a feat(core): new defaultVisualState property option to override 'normal' default visualState (#10440) 2023-12-20 12:58:28 -08:00
c5561d60df fix(android): use nativeTextViewProtected in TextField (#10450) 2023-12-20 12:54:21 -08:00
172d3463a3 fix(core): safe important check (#10455) 2023-12-19 10:11:10 -08:00
4762699fa1 fix(time-picker): properly handle 0 on hour and minutes with valueChanged (#10460)
closes https://github.com/NativeScript/NativeScript/issues/10457
2023-12-17 15:17:32 -08:00
40b2a6a6db chore: use __ANDROID__ and __IOS__ throughout (#10446)
Standardizes usage for more macro style removal during bundling for target platforms.
[skip ci]
2023-11-25 08:34:25 -08:00
48b1856d6c fix(core): inheritable property changes backstack propagation (#10438)
[skip ci]
2023-11-25 08:31:50 -08:00
aba3093e69 fix(ios): non-uniform border angle (#10437) 2023-11-25 08:28:10 -08:00
07d2129f9c fix(android): proper change of input interaction mode programmatically (#10434) 2023-11-24 22:54:57 -08:00
5a4bb7c38c fix(ios): shadow does not consider z-index (#10433) 2023-11-24 10:04:06 -08:00
9fae9c4281 fix(ios): ScrollView with listeners removed scroll delegate (#10432) 2023-11-22 10:06:56 -08:00