415 Commits

Author SHA1 Message Date
5e85d8873c feat(ios): background-image support for action bar (#10645) 2025-01-12 17:57:28 -08:00
24ad6e45b1 docs(core): fix types & improve jsdoc comments (#10620) 2025-01-12 12:38:28 -08:00
3dec0a5e99 chore: use vitest for unit testing plus workspace updates (#10662) 2025-01-12 11:52:13 -08:00
750d2ee455 fix(core): frame ignored event listeners in xml markup (#10646) 2024-11-18 19:50:21 -08:00
712a9f4848 revert: "perf: disable accessibility for layout views" (#10649) 2024-11-18 19:49:44 -08:00
4e54c676a3 revert: "fix(core): Proper line-height calculation" (#10647) 2024-11-18 19:48:51 -08:00
4f367483ef fix(android): background color is not applied to certain views (#10652) 2024-11-18 19:45:30 -08:00
ec7fa5d05e fix(core): proper line-height calculation (#10642) 2024-10-31 14:40:23 -07:00
4f46815b27 fix(ios): anti-aliasing for accurate borders (#10619) 2024-10-31 09:16:44 -07:00
a320ca1fb3 revert: "perf(core): avoid setting the same value to view properties" (#10618)
Revert "perf(core): avoid setting the same value to view properties (#10602)"

This reverts commit 499fe8dc82db623550a38d3f91eb9f9252304e31.
2024-10-23 13:14:04 -07:00
050601232a fix(layout): prevent negative width/height values (#10616) 2024-09-03 08:59:03 -07:00
ba3316e749 fix(ios): popover delegate should ignore non-native views (#10609) 2024-08-29 09:29:49 -07:00
6104b5bfa3 feat(core): added css class for styling dialog nested elements (#10605) 2024-08-22 19:06:22 -07:00
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