BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
Hello,
I wanted to use SfEffectsView for a custom Button contorl in a MAUI app and have bumped into an issue that SfEffectsView does not resize when its content (f.e. a Label) changes its size.
Here is a simple page where the described issue can be seen:
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:core="clr-namespace:Syncfusion.Maui.Core;assembly=Syncfusion.Maui.Core"
x:Class="SfEffectsViewNotResizing.MainPage">
<ScrollView>
<VerticalStackLayout
Spacing="25"
Padding="30,0"
VerticalOptions="Center">
<Button
x:Name="CounterBtn"
Text="More text!"
Clicked="OnCounterClicked"
HorizontalOptions="Center" />
<core:SfEffectsView x:Name="_effectsView" HeightRequest="36" HorizontalOptions="Center" TouchDownEffects="Ripple" RippleAnimationDuration="200"
RippleBackground="{DynamicResource GrayColor}" BackgroundColor="AliceBlue">
<Label x:Name="_label" Margin="10,0" TextColor="Red" HorizontalOptions="Center"
LineBreakMode="TailTruncation" VerticalOptions="Center"
Text="Starting Text " />
</core:SfEffectsView>
</VerticalStackLayout>
</ScrollView>
</ContentPage>
Also in CodeBehind:
private void OnCounterClicked(object sender, EventArgs e)
{
_label.Text += "A";
}
Please, find the full sample attached.
The issue occurs on all 3 platforms: Andorid, iOS and Windows: label is truncated instead of EffectsView being stretched.
Best regards,
Maiia Kuzmishyna
Hi Maiia,
Currently, we are validating the reported query and we will let you know the details on or before December 21, 2022. We appreciate your patience until then.
Regards
Vijayakumar V
Hi Maiia,
The reported issue was a known issue that we have already fixed. The fix will be available in our upcoming weekly release immediately after our volume 4 2022 main release.
Hi Maiia,
Thanks for your patience.
We have included the fix in our latest Weekly NuGet release 20.4.40 which is available for download ( https://www.nuget.org/ ). We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you require any further assistance.