soflyy / oxygen-bugs-and-features

Bug Reports & Feature Requests for Oxygen
https://oxygenbuilder.com/
314 stars 29 forks source link

Pseudo element selector issue with transform: translateY #2756

Open fynndesign opened 2 years ago

fynndesign commented 2 years ago

Any bug report that doesn't include a Sandbox link or replication steps will be closed. If you can't provide these pieces of information, we're happy to help you via our official support channel instead: https://oxygenbuilder.com/support. You need to select "Something's broken and I need help" from the dropdown box on the left.

Describe the bug A clear and concise description of what the bug is. Using a pseudo selector on a div (:hover .slide-up in this case) to make a div slide-up when hovering over the parent div works as it should in the oxygen editor, but not when published or looking at it on the frontend.

A link to a Sandbox site where the bug has been reproduced https://oxygenbuilder.com/try? (REQUIRED) Provide the link to a Sandbox install where the issue is present. If the issue only exists on a specific post or template, provide a direct link to that post or template. Here's the sandbox site: https://oxygen-qspm9rqbavwkl.oxygen-demo.qsandbox.me/sample-page/ https://oxygen-qspm9rqbavwkl.oxygen-demo.qsandbox.me/sample-page/?ct_builder=true

I was following a YouTube tutorial, and you can see the details here: https://youtu.be/bZ3_yPxodzo?t=687

IF YOU CAN'T PROVIDE A SANDBOX REPRODUCTION: Steps required to reproduce the bug: Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

If you can't fill out the above information, you should not be filing a bug report. Instead, contact us via https://oxygenbuilder.com/support with the details you have and we'll investigate your issue further.

KittenCodes commented 2 years ago

@fynndesign

This isn't a bug with the pseudo selector, but an issue with the translateY value not being output if it's set to 0. Please try setting it to 0.01 instead:

2022-02-22 08_36_20-Oxygen Visual Editor - Sample Page - Oxygen Sandbox

I've done this on the Sandbox site and it's now working correctly.

I've opened an internal issue for the TranslateY empty value problem.