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(clickable-images): Limiting the number of iterations, adding card expection - FRONT-4267 #3243

Merged
merged 1 commit into from Feb 15, 2024

Conversation

planctus
Copy link
Contributor

Eh, we knew that traversing the dom could have been tricky, indeed with the number of iterations needed to find the picture from the content-block in the card, we were breaking all the cases with multiple content-items, for instance.
Now we reduced this number to 1 (meaning two iterations) and we apply an exception for the card, where we actually need another iteration.
I do no like it, but like this might be safe enough, while before it was not.

Copy link

@github-actions github-actions bot temporarily deployed to pull request February 15, 2024 12:36 Inactive
@emeryro emeryro merged commit 500251b into v4-dev Feb 15, 2024
6 of 7 checks passed
@emeryro emeryro deleted the FRONT-4267-Clickable-images branch February 15, 2024 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants