Code Monkey home page Code Monkey logo

Comments (6)

GuillaumeGascon avatar GuillaumeGascon commented on August 25, 2024 1

@TiBz0u for the initialFocusField it's a mistake.
I've tried to use 1.5.0 but i get the same problem as shown in my video. I really don't understand because it's working on all other platform except on iOS.

from angular-code-input.

AlexMiniApps avatar AlexMiniApps commented on August 25, 2024 1

@TiBz0u @GuillaumeGascon Thank you guys! You save my time :) Much appreciated.

from angular-code-input.

AlexMiniApps avatar AlexMiniApps commented on August 25, 2024

@GuillaumeGascon Hi, I will check the case.

from angular-code-input.

GuillaumeGascon avatar GuillaumeGascon commented on August 25, 2024

@AlexMiniApps thank's !

from angular-code-input.

TiBz0u avatar TiBz0u commented on August 25, 2024

Hi @GuillaumeGascon ,
We use version 1.5.0 in production and it's working perfectly on last iOS 15 version.
Can you explain why you have initialFocusField at 6? Normally, you should have an error.
Kr.

from angular-code-input.

GuillaumeGascon avatar GuillaumeGascon commented on August 25, 2024

Ok, i managed to find what's wong !

So in my CSS i do this:

  &.empty {
      display: flex !important; <-- this line is the problem
      justify-content: center;
      &::after {
        content: "";
        position: absolute;
        bottom: 8px;
        width: 24px;
        height: 2px;
        background: var(--ion-color-separator);
        margin: 0 auto;
        z-index: 10;
      }
    }

So it appear for some reason that put .empty in display flex create the problem on iOS, so i've change my css for this:

  &.empty {
      &::after {
        content: "";
        position: absolute;
        bottom: 8px;
        width: 24px;
        height: 2px;
        left: 12px;
        background: var(--ion-color-separator);
        margin: 0 auto;
        z-index: 10;
      }
    }

Have a nice day !

from angular-code-input.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.