No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Render-problem in q-avatar on iPhone

    Framework
    3
    3
    155
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Dennis van Beek
      Dennis van Beek last edited by Dennis van Beek

      Hi,

      We have problems with the re-rendering of a q-avatar on an iPhone…
      When the amount changes, the previous number stays visible when it is larger the the current number:
      f61288b6-5821-4ef2-b668-4952a38156f4-image.png

      The code is pretty straight-forward (itemCount is computed):

      <div v-if="itemCount" class="absolute-right q-pr-sm q-pt-xs text-bold">
        <q-avatar size="sm" color="primary" text-color="white">{{itemCount}}</q-avatar>
      </div>
      

      On a desktop the problem cannot be reproduced.

      Any thoughts?

      (versions: quasar: 1.14.0 / quasar/app: 1.9.6)

      dobbel 1 Reply Last reply Reply Quote 0
      • beets
        beets last edited by

        I haven’t encountered this, but maybe try to use a QBadge instead?

        1 Reply Last reply Reply Quote 1
        • dobbel
          dobbel @Dennis van Beek last edited by

          @Dennis-van-Beek

          maybe this will help:

          https://morioh.com/p/08963bf07353

          1 Reply Last reply Reply Quote 1
          • First post
            Last post