Skip to content

fix(props): update fluid-on-mobile value on pass through#139

Merged
emmclaughlin merged 1 commit intomainfrom
evan/fix-fluid-on-mobile-prop
Feb 4, 2026
Merged

fix(props): update fluid-on-mobile value on pass through#139
emmclaughlin merged 1 commit intomainfrom
evan/fix-fluid-on-mobile-prop

Conversation

@emmclaughlin
Copy link
Copy Markdown
Collaborator

The mjml documentation has fluid-on-mobile as a boolean, which is different to similar attributes like full-width which take "full-width" or false (ref).

This change makes fluidOnMobile pass through the boolean value to fix #138

@emmclaughlin emmclaughlin reopened this Feb 4, 2026
@emmclaughlin emmclaughlin force-pushed the evan/fix-fluid-on-mobile-prop branch from c3c9b89 to b59a7ea Compare February 4, 2026 15:30
@emmclaughlin emmclaughlin merged commit af86ae6 into main Feb 4, 2026
3 checks passed
@emmclaughlin emmclaughlin deleted the evan/fix-fluid-on-mobile-prop branch February 4, 2026 15:33
@LouisTrezzini
Copy link
Copy Markdown

Hi! thanks for the fix

Would it be possible to cut a new release that includes this fix? I'm blocked on it in a project and would really appreciate it.

Thanks for maintaining this library

@emmclaughlin
Copy link
Copy Markdown
Collaborator Author

Hi! thanks for the fix

Would it be possible to cut a new release that includes this fix? I'm blocked on it in a project and would really appreciate it.

Thanks for maintaining this library

Thank you for the nudge, and sorry for the delay. It should be available in 3.5.4: https://github.com/Faire/mjml-react/releases/tag/v3.5.4

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.

ValidationError: Attribute fluid-on-mobile has invalid value

3 participants