Close Menu
  • Home
  • AI
  • Big Data
  • Cloud Computing
  • iOS Development
  • IoT
  • IT/ Cybersecurity
  • Tech
    • Nanotechnology
    • Green Technology
    • Apple
    • Software Development
    • Software Engineering

Subscribe to Updates

Get the latest technology news from Bigteetechhub about IT, Cybersecurity and Big Data.

    What's Hot

    The Download: How AI really works, and phasing out animal testing

    November 17, 2025

    Deep Network Troubleshooting: An Agentic AI Solution

    November 17, 2025

    Today’s NYT Connections: Sports Edition Hints, Answers for Nov. 17 #420

    November 17, 2025
    Facebook X (Twitter) Instagram
    Facebook X (Twitter) Instagram
    Big Tee Tech Hub
    • Home
    • AI
    • Big Data
    • Cloud Computing
    • iOS Development
    • IoT
    • IT/ Cybersecurity
    • Tech
      • Nanotechnology
      • Green Technology
      • Apple
      • Software Development
      • Software Engineering
    Big Tee Tech Hub
    Home»iOS Development»CSS opacity transition not working with iOS
    iOS Development

    CSS opacity transition not working with iOS

    big tee tech hubBy big tee tech hubOctober 30, 2025043 Mins Read
    Share Facebook Twitter Pinterest Copy Link LinkedIn Tumblr Email Telegram WhatsApp
    Follow Us
    Google News Flipboard
    CSS opacity transition not working with iOS
    Share
    Facebook Twitter LinkedIn Pinterest Email Copy Link


    Closed. This question needs debugging details. It is not currently accepting answers.


    I’m posting this because I’ve been researching this issue for more than two days and haven’t been able to find a recent clear answer – only what seems to be a hack.

    Here is the issue – which, to make things worse, I haven’t been able to reproduce with js fiddle nor codepen.

    I have a grid design with three rows and more than 20 columns.

    I want to show the content of only one column at a time, and for that I use a simple js script that adds/removes classes controlling the opacity property of the elements in the grid based on user interactions.

    To make things smooth, I apply a transition on this opacity property.

    It worked perfectly on my PC (chrome/firefox), as well as on an old Android phone (chrome/firefox).

    But it was broken on my iphone (safari/chrome/firefox): the elements that should have had “opacity: 0” remained visible on screen.

    The appearance/disappearance of elements would only work fine on all platforms if I removed the transitions. But I really wanted some sort of fade in/fade out…

    Not being a professional, I have very limited testing means – so I almost got mad trying to figure out what was happening with transitions on that damned phone.

    In the end, I got my hands on a desktop Mac and was able at last to inspect my web page in safari: to my great surprise, there was no issue flagged and the elements, still perfectly visible in their column, did have the “opacity: 0” in the inspector.

    After hours of browsing stackoverflow and other forums – I couldn’t find any relevant post on that issue. The closest answers were about hovering and animations and 3Dpreserve, and most were a decade old, inviting to use –webkit prefix.

    One, however, suggested to use “backface-visibility: hidden;” – but with no more explanation.

    As a last resort, I decided to apply that solution to my case and – ta da ! It fixed the problem, and now my elements fade in / out nicely in my grid on iOS.

    But I can’t help asking myself: wtf?

    Why would backface-visibility change anything in a code that does no flips and just changes a div opacity?
    Does anybody know about that issue? Or why would iOS behave like that with transition?
    My problem is fixed, but I’d really love to understand why
    …..
    Thx!



    Source link

    CSS iOS opacity Transition working
    Follow on Google News Follow on Flipboard
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email Copy Link
    tonirufai
    big tee tech hub
    • Website

    Related Posts

    ios – UserDefaults doesn’t store its value

    November 16, 2025

    ios – How to implement native Tab Bar search (.searchable) for a Dictionary view in SwiftUI?

    November 15, 2025

    react native – How can I use single finger scroll reliably in iOS in ScrollList while also allowing swipe left and swipe right?

    November 14, 2025
    Add A Comment
    Leave A Reply Cancel Reply

    Editors Picks

    The Download: How AI really works, and phasing out animal testing

    November 17, 2025

    Deep Network Troubleshooting: An Agentic AI Solution

    November 17, 2025

    Today’s NYT Connections: Sports Edition Hints, Answers for Nov. 17 #420

    November 17, 2025

    ZnO Nanoparticles with 2 % Silver: A Game-Changer for Sensing

    November 17, 2025
    About Us
    About Us

    Welcome To big tee tech hub. Big tee tech hub is a Professional seo tools Platform. Here we will provide you only interesting content, which you will like very much. We’re dedicated to providing you the best of seo tools, with a focus on dependability and tools. We’re working to turn our passion for seo tools into a booming online website. We hope you enjoy our seo tools as much as we enjoy offering them to you.

    Don't Miss!

    The Download: How AI really works, and phasing out animal testing

    November 17, 2025

    Deep Network Troubleshooting: An Agentic AI Solution

    November 17, 2025

    Subscribe to Updates

    Get the latest technology news from Bigteetechhub about IT, Cybersecurity and Big Data.

      • About Us
      • Contact Us
      • Disclaimer
      • Privacy Policy
      • Terms and Conditions
      © 2025 bigteetechhub.All Right Reserved

      Type above and press Enter to search. Press Esc to cancel.