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

Feature Request: Transform CSS Logical Properties to Physical Properties for Legacy Browser Support #7272

Open
yyj961010 opened this issue Feb 18, 2025 · 1 comment
Labels
good first issue *** Welcome to PrimeVue Family! *** Good issue! Resolution: Needs Upvote 👍 Support this idea or feature by adding an upvote. Community feedback helps with prioritization.

Comments

@yyj961010
Copy link

I would like to request a feature to support transforming CSS logical properties to physical properties for better browser compatibility, similar to what Ant Design Vue provides.

Currently, CSS logical properties have limited support in older browsers. By transforming logical properties to their physical counterparts (like converting margin-inline to margin-left/margin-right), we can ensure consistent layout behavior across different browser versions.

Reference implementation from Ant Design Vue:

This feature would allow developers to:

  • Write modern CSS logical properties in their code
  • Automatically get backward compatibility for legacy browsers
  • Maintain clean, future-proof code while ensuring wide browser support

Would the PrimeVue team consider adding this compatibility transformer feature?

@tugcekucukoglu tugcekucukoglu added good first issue *** Welcome to PrimeVue Family! *** Good issue! Resolution: Needs Upvote 👍 Support this idea or feature by adding an upvote. Community feedback helps with prioritization. labels Feb 21, 2025
Copy link

Thanks a lot for this issue! PrimeTek's own vision for PrimeVue is demanding, but community feedback is crucial in prioritization. The more upvotes help ensure this fix can be addressed quickly or the related PR can be merged soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue *** Welcome to PrimeVue Family! *** Good issue! Resolution: Needs Upvote 👍 Support this idea or feature by adding an upvote. Community feedback helps with prioritization.
Projects
None yet
Development

No branches or pull requests

2 participants