Do not clear key listener when editable is false This prevents the input type to be changed.
Instead, we can set focusable, clickable to false.
This allows to change input Type i.e (secure) at run time when editable is false.
Reference issue: https://github.com/NativeScript/NativeScript/issues/8523
Co-authored-by: Vasil Trifonov <v.trifonov@gmail.com>
* feat: open file in iOS simulator
* feat: added isRealDevice util
* feat: have in mind isRealDevice in utils.openFile
refactor to avoid some circular dependencies
Co-authored-by: Vasil Trifonov <v.trifonov@gmail.com>
* fix: dont default to Font.default
This would cause a font to be set for any label even when using default system font.
This will also cause a typeface which is pretty long
* lint: lint fixes
* fix: added null font guards
* fix: Used default bold for TabView
Co-authored-by: Vasko <v.trifonov@gmail.com>
* Improve CSS selector parsing/matching by 30% - 40%
with some JavaScript optimization and excluding ProxyViewContainer from the process
Change the specificity to be divisible to 10
* fix: selector match
* fix: lint errors
* refactor: restore processing of ProxyViewContainer
* chore: lower the number of expected cycles
* fix: some css selector fixes
Co-authored-by: Manol Donev <manol.donev@gmail.com>
Co-authored-by: Manol Donev <manoldonev@users.noreply.github.com>
Co-authored-by: Vasil Trifonov <v.trifonov@gmail.com>
* Update tap event data object
Adds a:
- TabGestureEventData interface, which can be used for both tap and doubleTap events.
- The event object returned by both tap and doubleTap events now have getX(), getY(), and getPointersCount() methods. These facilitate the same function as those of the touch event object.
* ui(gesture): getX,getY in DIP
Updates the getX() and getY() methods of Tap, doubleTap and touch events to return DIP instead of DP.
* ui(gesture): tap event data includes location
Tap and doubleTap event data now include getX and getY methods for event location. These are in DIP format.
getPointerCount is also available.
* Fix tslint errors
* fix minor formatting issues for api-extrector
* fix: dont create an actionbar if not necessary
For now i kept the commented code so that you can see the change.
Also i changed the android check to behave like iOS
* rollback. we now try an make sure the actionbar is created only if needed
* actually we should check for false
* chore: add guard for ios
* feat(bottom-nav): adding new properties
* feat(tabs): new property implementation
* feat: new feature implementation in android
Implemented selectedItemColor and unSelectedItemColor properties on TabStrip
* chore: added some comments
* chore: change method return type
* fix: setting icon color
* fix: rendering mode setting
* chore: rename variable
* chore: fixed a typo
* chore: updated log in build gradle
* fix: item color setting in android
* fix: tab styling when no css aplied
* chore: private methods renamed
* tests: added selected-item test pages
* chore: renamed test pages
* chore: move css-tree package to the right place
* tests: added new ui tests
* fix: use renamed function
* fix: set item color
* tests: aded automationText attribute
* tests: trying to fix the tests
Co-authored-by: Dimitar Topuzov <dtopuzov@gmail.com>