You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[regression/7.0.81] 7.0.81 Service Release 4 breaks CascadeInputTransparencyΒ #14522
After the most recent update (7.0.81), I noticed that the CascadeInputTransparency flag was no longer working on Android. This was not a problem on version 7.0.59. I am aware of this issue that deals with InputTransparency being broken on Android, but this is a separate issue. I suspect that this PR has something to do with it, specifically the change on line 304 of file src/Controls/src/Core/Layout/Layout.cs as it doesn't match the other patterns, but I don't know for sure.
I am seeing some similar behaviour, where my pop-ups suddenly stopped working on Android devices. I am not able to pinpoint the issue exactly, so contributing in a very meaningful fashion is hard, but it seems to be related to either gesture recognizers og (most likely) some sort of input transparency behaviour.
Reverting from 7.0.81 to 7.0.59 solved the issue.
Edit:
Correction on the above, we are in fact seeing the same issue as reported. We were setting InputTransparency programmatically on our pop-up card, but it does not seem to cascade down the tree. Could be an issue with BindableProps?
changed the title [-]7.0.81 Service Release 4 breaks CascadeInputTransparency[/-][+][regression/7.0.81] 7.0.81 Service Release 4 breaks CascadeInputTransparency[/+]on Apr 17, 2023
If that doesn't work, please post something about your code so I can see why.
@jonakirke94@jkhoel if you have reproductions or vague examples of code that's broken for you, can you post them here? Just want to make sure we test as many scenarios as possible here.
It appears that the backdrop only behaves correctly when there is a TapGestureRecognizer added so I wonder if the InputTransparent even has an effect here.
See this updated example where the panel also has a TapGestureRecognizer:
It appears that the backdrop only behaves correctly when there is a TapGestureRecognizer added so I wonder if the InputTransparent even has an effect here.
See this updated example where the panel also has a TapGestureRecognizer:
Activity
jkhoel commentedon Apr 17, 2023
I am seeing some similar behaviour, where my pop-ups suddenly stopped working on Android devices. I am not able to pinpoint the issue exactly, so contributing in a very meaningful fashion is hard, but it seems to be related to either gesture recognizers og (most likely) some sort of input transparency behaviour.
Reverting from 7.0.81 to 7.0.59 solved the issue.
Edit:
Correction on the above, we are in fact seeing the same issue as reported. We were setting InputTransparency programmatically on our pop-up card, but it does not seem to cascade down the tree. Could be an issue with BindableProps?
[-]7.0.81 Service Release 4 breaks CascadeInputTransparency[/-][+][regression/7.0.81] 7.0.81 Service Release 4 breaks CascadeInputTransparency[/+]jonakirke94 commentedon Apr 18, 2023
Is there a known workaround for this? Currently this regression is preventing us from bumping our version
PureWeen commentedon Apr 20, 2023
You can try copying the method I have here as a workaround
https://github.com/PureWeen/ShanedlerSamples/blob/main/ShanedlerSamples/Library/Common/HostExtensions.cs#L13-L69
If that doesn't work, please post something about your code so I can see why.
@jonakirke94 @jkhoel if you have reproductions or vague examples of code that's broken for you, can you post them here? Just want to make sure we test as many scenarios as possible here.
jonakirke94 commentedon Apr 20, 2023
Thanks, the workaround appears to solve my issues.
Here is a small reproduction of a slide-in menu.
InputTransparentRepro.zip
In this example these things are broken:
PureWeen commentedon Apr 20, 2023
@jonakirke94 are you on Android?
I noticed those examples still don't seem to run quite right, but they at least run the same as they did on 7.0.59.
jonakirke94 commentedon Apr 20, 2023
@PureWeen
Yes
Okay, that might be a bug on our end.
It appears that the backdrop only behaves correctly when there is a TapGestureRecognizer added so I wonder if the InputTransparent even has an effect here.
See this updated example where the panel also has a TapGestureRecognizer:
InputTransparentRepro_v2.zip
Shouldn't setting
CascadeInputTransparent="True"on the ContentView also resolve the above issues?PureWeen commentedon Apr 20, 2023
Yea, it should. We have a PR here that should resolve that scenario. But, that wasn't working in 7.0.52 so just making sure there wasn't a regression.
Another thing you can do is set the
ScrollViewon the contentpage to InputTRansparent and cascade that down. That worked for me.PureWeen commentedon Jun 28, 2023
Fixed by #14650