-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shining effect is not working properly #2
Comments
hey @vahidvdn :), can you try without shineSize="0"? |
Hey @hamdiwanis |
ok thanks @vahidvdn i will look into it, also do you test with android or ios? does the demo project works? |
Sorry @vahidvdn but I could not reproduce the problem, i just tried it with a new angular project and it worked normally. if you want i can send you the test project i used or you can make a one with the problem and send me the repo link |
@hamdiwanis Thanks for your reply.
Android.
The demo project is using nativescript core. If it's possible to you, please share your angular demo version. |
ok, here it is :) |
@hamdiwanis It works fine in your attached project. Let me check out in details to see why it doesn't work in my case. |
@hamdiwanis I found the issue. In my project if I transfer my shine button to the root component (app.component.html) , it works fine. For reproducing the issue, please try angular project with tabview template, and put your shine button into one of the tabs. |
Also there are another issues. There is programmatically control of the view. For example in iOS version of native library, there is something like this: (I couldn't be able to find any equation in android native lib) favButton.isSelected = true And one more thing, I don't have any idea about, is using in listview. Because when scrolling it shows the next items as selected. |
hey @vahidvdn acctully i used WCLShineButton for ios not fav-button but it still have isSelected property, for android i think you can use setChecked https://github.com/ChadCSong/ShineButton/search?q=setChecked&unscoped_q=setChecked
i think this is a problem with the native lib see here same for tab view issue and ina dialog becuse of the use of difrent frame may be passing the frame manually to the library would be a solution |
Hi. I installed the plugin in
nativescript-angular
version. I copied customicon.png in all folders intoApp_Resources\Android\src\main\res
. Now when I tap on button it only scales up without any shining effects. Also it changes the color of icon.Additionally, after pressing the button the ui becomes very laggy and freezes for a few seconds. Here is my code:
Any idea?
The text was updated successfully, but these errors were encountered: