Repository navigation
fix(select): RTL fix for searchbar - #11355
Conversation
RTL fix for searchbar component
I forgot to refrence _isRTL
| _isActive: boolean = false; | ||
| _showCancelButton: boolean = false; | ||
| _animated: boolean = false; | ||
| _isRTL: boolean = this._plt.isRTL(); |
There was a problem hiding this comment.
isRTL is now a variable of platform, and not a method. so instead of having, this line, and then if (this._isRTL), use:
if (this._plt.isRTL)
It will then also work on realtime direction switch.
Nice work!
There was a problem hiding this comment.
Thanks a bunch, didn't know that.
|
@sijav you should be able to run |
|
@manucorporat could you address me those issues? with |
PR - ionic-team#11342 - covers the scss, and is about done
|
@brandyscarney Tested, works as expected on ltr & rtl (after applying this fix - #11651 on master) (gulp e2e.watch --folder=searchbar/basic) |
Short description of what this resolves:
RTL fix for searchbar component
Changes proposed in this pull request:
Ionic Version: 2.x / 3.x
Fixes: #11211