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

fix semantics autoheight with scroll views #159

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

manu-sncf
Copy link

@manu-sncf manu-sncf commented Aug 16, 2022

When SemanticsDebugger is used with a Scrollable, the semantics boxes are partially displayed :

Capture d’écran 2022-08-16 à 12 29 17

The golden should be like this :

Capture d’écran 2022-08-16 à 12 29 26

The fix only add a few pumps on screenMatchesGolden when it detect a SemanticsDebugger (5 pumps max if frame are scheduled).

The autoHeightExtraPumps allows to add other Finder with their number of extra pumps necessary.

Extra pump will be executed if one of the finder is valid and keep the max number of the map.

@manu-sncf manu-sncf marked this pull request as ready for review August 16, 2022 10:32
@mZadorskii
Copy link
Contributor

mZadorskii commented Dec 7, 2022

Is it possible to use CustomPump? customPump? param instead

@manu-sncf
Copy link
Author

Is it possible to use CustomPump? customPump? param instead

Hey ! The customPump is triggered before the final size computation of the screen. Although, SemanticDebugger needs this final size to be displayed correctly and thus, customPump may not be the solution.

@jscti
Copy link

jscti commented Mar 6, 2023

Could this be reviewed/merged ?
Thanks

@agacemi
Copy link

agacemi commented Mar 30, 2023

any news about this PR ?!
@mZadorskii This PR seems to fix an issue on semantic goldens, any plan to review it ! Thank you

@LDevi
Copy link

LDevi commented Jan 29, 2024

Could we have a status for this ? This feature would be great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants