View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002400 | NoesisGUI | Unity3D | public | 2022-08-19 12:04 | 2022-08-22 17:46 |
Reporter | JinFox | Assigned To | sfernandez | ||
Priority | normal | Severity | minor | Reproducibility | sometimes |
Status | resolved | Resolution | fixed | ||
Product Version | 3.1.2 | ||||
Target Version | 3.1.6 | Fixed in Version | 3.1.6 | ||
Summary | 0002400: ScrollViewer doesnt apply panningMode when applied with style | ||||
Description | Hello, It would seem that some of the scrollviewer I am using in my game are not working with touch unless I specifically add "PanningMode="VerticalOnly"" directly inline. The property, if set in a declared Style is not applied. This issue doesn't seem to reproduce on simple scenario but only in more complex Visual trees. After a discussion with Sergio, he emitted the hypothesis that the ScrollViewer using template binding to inherit from higher member of the hierarchy might be applied even if the style isn't default value, overriding any value put in the style of the scrollviewer. Thanks very much for your help! | ||||
Steps To Reproduce | 1- Have a ScrollViewer with a style, for example : <Style x:Key="style.global.scrollViewer.vertical" TargetType="{x:Type ScrollViewer}" BasedOn="{StaticResource {x:Type ScrollViewer}}"> <Setter Property="CanContentScroll" Value="False"/> <Setter Property="PanningMode" Value="VerticalOnly"/> <Setter Property="IsManipulationEnabled" Value="True"/> <Setter Property="HorizontalScrollBarVisibility" Value="Disabled"/> </Style> 2 - Include this scrollviewer with a style in a visual tree where a value that can be inherited from 3 - watch which value is applied with the Noesis Inspector? This might not be reproducible on simple visual tree architecture | ||||
Tags | No tags attached. | ||||
Platform | Any | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2022-08-19 12:04 | JinFox | New Issue | |
2022-08-19 14:25 | jsantos | Assigned To | => sfernandez |
2022-08-19 14:25 | jsantos | Status | new => assigned |
2022-08-19 14:25 | jsantos | Target Version | => 3.1.6 |
2022-08-22 17:46 | sfernandez | Status | assigned => resolved |
2022-08-22 17:46 | sfernandez | Resolution | open => fixed |
2022-08-22 17:46 | sfernandez | Fixed in Version | => 3.1.6 |