-
Notifications
You must be signed in to change notification settings - Fork 56
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
Flash of the last button. #4
Comments
I'm still having the same problem as you; using liuzhiyi1992's source code:
When I click the main button of an 'open' Spreadbutton, as the SpreadButton contracts, the first subSpreadButton added to the SpreadButton will briefly flash in the top-left corner of the screen. Notably, however, when clicking any of the subSpreadButtons to close it, no flashing is experienced (this may be due to stevomit's commit). |
(It looks like stevomit's fix hasn't been pulled into the main branch – that might be all that's needed to close this issue)! |
I can confirm now that stevomit's commit above DOES solve the problem for my supplied code. I'll ask if he can submit a pull request. |
Hello, I am using your framework to create a spread button. But seem like you have an issue with the buttons. When I spread-in the buttons, there is a flash of the last added button on the left-up corner, just below the status bar.
Do you know why ?
Here is the code that I used like you did.
`func setup_spread_button()
{
let btn1 = SpreadSubButton(backgroundImage: UIImage(named: "edit"), highlightImage: UIImage(named: "edit")) { (index, sender) -> Void in
print("first")
}
`
Regards,
Hary
The text was updated successfully, but these errors were encountered: