Skip to content
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

Change the element's width at runtime doesn't update quickly in Mac and iOS platforms #22451

Open
SethupathyD opened this issue May 16, 2024 · 2 comments
Labels
area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter platform/iOS 🍎 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working

Comments

@SethupathyD
Copy link

SethupathyD commented May 16, 2024

Description

I have implemented a custom control using ControlLayout. When changing the width of controls using pan gesture events, it leads the performance issue. It takes time to arrange the elements in the UI in Mac and iOS platforms. I had attached the video for your reference.

DemoVideo.mp4

Steps to Reproduce

  1. Clone the SimpleSample from the repository.
  2. launch the sample in MAC.
  3. Try resizing the 0th cell with background color as LightBlue.

Expected Behavior - Cells should arrange without lag.
Actual Behavior - Cells are arranged with lag.

Link to public reproduction project repository

https://github.com/SethupathyD/Performance-Leak-on-MacOS-and-IOS.

Version with bug

8.0.7 SR2

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS, macOS

Affected platform versions

No response

Did you find any workaround?

No

Relevant log output

No response

@SethupathyD SethupathyD added the t/bug Something isn't working label May 16, 2024
Copy link
Contributor

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@SethupathyD SethupathyD changed the title Performance Leak on MacOS and IOS Platforms When Dynamically Changing Width at Runtime. Change the element's width at runtime doesn't update quickly in Mac and iOS platforms May 16, 2024
@ninachen03 ninachen03 added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels May 17, 2024
@ninachen03
Copy link
Collaborator

Verified this issue with Visual Studio 17.6.12(build410) (8.0.21 & 8.0.6). Can repro it.

@jsuarezruiz jsuarezruiz added area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter platform/iOS 🍎 labels May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter platform/iOS 🍎 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants