Material: TabsController transition sets alpha of views to 1.0

Created on 15 Jan 2018  路  10Comments  路  Source: CosmicMind/Material

I'm using a control which has a set of invisible labels and set of visible labels. During my first transition to a view controller which contains this control, all the labels are visible when half should be invisible. I'm not sure what's causing this but using a UITabBarController does not have this problem.

help wanted high priority investigate material

All 10 comments

Thank you for sharing this issue. I am going to investigate it tonight. In the meantime, if you have a sample project that reproduces the issue, that would be great.

Here you go, switch between the tabs to see the issue.
Test.zip

Thank you! @andrewc94

Also not sure if this is helpful, but here's the stack trace where the label's alpha is set to 1 from 0 during the transition.

screen shot 2018-01-15 at 2 54 53 pm

Hey sorry for any delays with this issue. @adamdahan let's both take a look at this one.

@andrewc94 Stacktrace very useful thank you. Will look more into this tonight :)

@andrewc94

I have confirmed the issue in the latest version of Material and found the root cause of the issue with your help. I will confirm a fix with @danieldahan and make sure this is addressed in the next release. The fix will address issues #853, CosmicMind/Motion#16 aswell.

Will keep this ticket open until it's fully resolved. Thank you for the test project and stacktrace 馃憤

@adamdahan
Thank you so much!! Would it be possible to give a high level explanation of what was going on?

@adamdahan I fixed the alpha issue. We will make a push later today.

@andrewc94 Thank you for sharing this issue, thank you @adamdahan for discovering the solution. The fix is in development and will be pushed later today.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sovata8 picture sovata8  路  15Comments

MacMeDan picture MacMeDan  路  28Comments

ayham-achami picture ayham-achami  路  26Comments

ijameelkhan picture ijameelkhan  路  23Comments

ariedoelman picture ariedoelman  路  34Comments