-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Odd view behavior with layouts + pick #1933
Comments
Are you on 1.3.0 branch? |
Verified this issue on 1.2.5 and 1.2.6. |
It's the same for 1.3.0. In view.c on line L1277 it seems to be storing the view into array along with the layout. Second time you set the layout, the internal value changes, but that stored layout in the array from earlier pick() doesn't. |
I have overridden the
|
Fixed in |
I noticed some odd behavior with calling
setLayout()
andpick()
.setLayout()
thenpick()
then thesetLayout()
gets ignored. If there is a default layout, that gets picked which is worse since the framework ignores user intent (line 1).pick(['view', 'layout'])
. This behavior is undocumented and I gleaned it by reading the C source. Is this undocumented because it's unsupported and liable to change or is this okay to use?Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: