problem description:
to tab1to tab2
(1):
* pz-index:-1
section-webkit-overflow-scrolling: touch;
*{ position: relative;margin: 0;line-height: 1;}
PCIPHONE712.1.2safari
<html>
<head>
<meta id="viewport" name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1, maximum-scale=1,user-scalable=no">
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<style>
* {
font-size:40px;
position: relative;
margin: 0;
line-height: 1;
}
</style>
</head>
<body>
<div id="app">
<section style="overflow: scroll;-webkit-overflow-scrolling: touch;">
<hgroup>
<p @click="tab=1">to tab1
<p @click="tab=2">to tab2
</hgroup>
<hgroup v-if="tab===1" style="margin-top:20px;">
<p style="z-index: -1" color-black>
this is tab1
</hgroup>
<hgroup v-if="tab===2">
<p color-black>this is tab2
</hgroup>
</section>
</div>
<script>
var app = new Vue({
el: "-sharpapp",
data: {
tab: 1,
}
})
</script>
</body>
</html>