mobile-safari

Issues with Absolute Positioning of Div in Mobile Browser

我怕爱的太早我们不能终老 提交于 2021-02-19 04:48:12
问题 I am having a lot of issues absolutely positioning a div called id="verticalGenesis" on the following website: http://genesispetaluma.com/index.html in a mobile browser, including both Safari and Chrome on the iPhone. I ideally am trying to position a logo to appear at the right of my screen using the following css: #verticalGenesis { background-image: url("../img/Genesis%20Text.gif"); background-repeat: no-repeat; display: block; height: 570px; opacity: 0.8; position: absolute; right: 3%;

Why is SFSafariWebViewController not sharing cookies with Safari properly?

爱⌒轻易说出口 提交于 2021-02-17 21:58:26
问题 I created an incredibly basic app which includes a SFSafariViewController pointing at the URL http://www.w3schools.com/js/js_cookies.asp . This is a test website for reading and writing cookies. I then loaded the same website into Mobile Safari, and added one cookie. I switched to my app, read the cookie, it's there. I go back to Safari, add another cookie, go back to my app, but the second cookie hasn't appeared. I refresh the pages, no difference. Go back to Safari and read the cookies,

Date value goes out of date constraints in Safari Mobile

江枫思渺然 提交于 2021-02-10 05:26:16
问题 I am trying to understand the level of support of <input type="date"> in iOS. I tested it with an iPhone 4 with iOS 7.0.3, even if I specify a min attribute the date picker lets me choose a date before the constraint. The HTML code is this: <input type="date" id="checkIn" name="checkIn" class="form-control input-sm" value="2014-05-26" min="2014-05-26" data-date-format="YYYY-MM-DD" data-date-minDate="2014-05-26" placeholder="yyyy-mm-dd"> The data attributes are set for this datepicker but I

Stack scrolling with scroll-snap and position sticky

 ̄綄美尐妖づ 提交于 2021-02-10 05:25:15
问题 I'm using scroll-snap in combination to position: sticky which seemed like an elegant approach to enable a stacking card effect while scrolling. It works pretty great on desktop but on Safari (iOS12.1) I'm experiencing glitches where sometime the cards scroll all together, skipping content. The most obvious way to replicate the bug on mobile Safari is to: scroll down to the bottommost screen close (blur) and reopen Safari then trying to scroll back up again Bug experienced: it's skipping all

Stack scrolling with scroll-snap and position sticky

≯℡__Kan透↙ 提交于 2021-02-10 05:24:51
问题 I'm using scroll-snap in combination to position: sticky which seemed like an elegant approach to enable a stacking card effect while scrolling. It works pretty great on desktop but on Safari (iOS12.1) I'm experiencing glitches where sometime the cards scroll all together, skipping content. The most obvious way to replicate the bug on mobile Safari is to: scroll down to the bottommost screen close (blur) and reopen Safari then trying to scroll back up again Bug experienced: it's skipping all

Mobile Safari - viewport device-height not working as expected

你离开我真会死。 提交于 2021-02-09 08:20:29
问题 I have a web app that I'm trying to run on an iPad 3. When I pull it up, the app is allowing vertical scroll when it shouldn't be. I've gone through the same process with other web apps without any issues, and am not sure what I am missing this time around. Inside head element of my html, I have the following meta tags: <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="user-scalable=no, initial-scale=1, minimum-scale=1, maximum-scale=1, width=device-width,

Mobile Safari - viewport device-height not working as expected

烈酒焚心 提交于 2021-02-09 08:19:51
问题 I have a web app that I'm trying to run on an iPad 3. When I pull it up, the app is allowing vertical scroll when it shouldn't be. I've gone through the same process with other web apps without any issues, and am not sure what I am missing this time around. Inside head element of my html, I have the following meta tags: <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="user-scalable=no, initial-scale=1, minimum-scale=1, maximum-scale=1, width=device-width,

Mobile Safari - viewport device-height not working as expected

血红的双手。 提交于 2021-02-09 08:19:10
问题 I have a web app that I'm trying to run on an iPad 3. When I pull it up, the app is allowing vertical scroll when it shouldn't be. I've gone through the same process with other web apps without any issues, and am not sure what I am missing this time around. Inside head element of my html, I have the following meta tags: <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="user-scalable=no, initial-scale=1, minimum-scale=1, maximum-scale=1, width=device-width,

Mobile Safari - viewport device-height not working as expected

霸气de小男生 提交于 2021-02-09 08:16:51
问题 I have a web app that I'm trying to run on an iPad 3. When I pull it up, the app is allowing vertical scroll when it shouldn't be. I've gone through the same process with other web apps without any issues, and am not sure what I am missing this time around. Inside head element of my html, I have the following meta tags: <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="user-scalable=no, initial-scale=1, minimum-scale=1, maximum-scale=1, width=device-width,

Mobile Safari skips first seconds of HTML Audio on play()

狂风中的少年 提交于 2021-02-08 15:12:35
问题 The bounty expires in 22 hours . Answers to this question are eligible for a +100 reputation bounty. Justin Smith wants to draw more attention to this question. I have an React Audio Player that uses a useAudio hook to manage the HTML5 audio. It works fine everywhere except Mobile Safari, where the sound begins a few seconds after the player starts playing. What's odd is that I'm checking canplaythrough on the element before calling HTMLAudioElement.play() . So Safari fires canplaythrough and