[Bug] Part of Xiaomi model (5x, mix2), text/background flash and then disappear

Source: Internet
Author: User

Describe:
vue 2.4when using development HTML5 , encountered in the Xiaomi part model (5x, mix2), the text/text background flashes and then disappears.

As below, .a-blue-block the blue background flashes, then the blue background suddenly disappears, leaving only the text.

HTML structure:

      <div class="pannel-item" v-for="(item, index) in ps" :key="index">        <div class="a-blue-block">          <div class="title">            <span>{{item.name}}</span>            <span v-if="item.ename">{{item.ename}}</span>          </div>          <div class="desc">{{item.itn}} {{item.idcard}}</div>        </div>     <div>

Partial CSS

$rem: 1 / 18.75 * 1rem;.a-blue-block {  padding: 16*$rem 20*$rem;  border-radius: 6 * $rem;  color: #000;  background: #1188FF;  box-shadow: 0 4px 10px #ccc;}

Repair:
On the parent of the vanishing element, add background:#fff .

As to why this bug appears, and add white/any background can fix this bug, do not ask me, I do not know.

If someone encounters or knows why, hope to tell me someday.

[Bug] Part of Xiaomi model (5x, mix2), text/background flash and then disappear

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.