fuse-open / fuselibs

Fuselibs is the Uno-libraries that provide the UI framework used in Fuse apps
https://npmjs.com/package/@fuse-open/fuselibs
MIT License
176 stars 72 forks source link

BringIntoView broken #1365

Closed ckarmy closed 4 years ago

ckarmy commented 4 years ago

Hi! In my app I have a chat, I Create it with a ScrollView with an StackPanel with Alignment=“Bottom”. But the BringIntoView don`t work! If I remove the alignment work…

Here a example:

<App>
<ScrollView ux:Name="ScrollMensajes">
        <StackPanel Alignment="Bottom" Margin="0,0,0,50">
            <WhileTrue Bypass="Never" Value="True">
                <BringIntoView TargetNode="Rect" Delay="1" />
            </WhileTrue>

            <Rectangle Background="Red" Height="400" Margin="10" />
            <Rectangle Background="Red" Height="400" Margin="10" />
            <Rectangle Background="Red" Height="400" Margin="10" />
            <Rectangle Background="Blue" ux:Name="Rect" Height="400" Margin="10" />
            <Rectangle Background="Red" Height="400" Margin="10" />
            <Rectangle Background="Red" Height="400" Margin="10" />
            <Rectangle Background="Red" Height="400" Margin="10" />
        </StackPanel>
    </ScrollView>
</App>

If you remove the Alignment="Bottom" work as expected but I don’t have the chat scroll…

ichan-mb commented 4 years ago

This issue has been fixed