All Questions
Tagged with mobile javascript
4,934 questions
-3
votes
0
answers
29
views
Optimizing weather animations (snow/rain/stars) for mobile - alternatives to 100+ CSS animated elements? [closed]
I'm building a weather-themed portfolio with interactive animations that must maintain performance on mobile devices (≥ iPhone 8/Android 9). While I've made optimizations, I'm hitting performance ...
0
votes
1
answer
55
views
Updating element value prevents change event on mobile
I'm working with an application where some of the input elements are updated in real time using an input event. For some reason, when the input is updated, it somehow prevents a change event from ...
0
votes
0
answers
43
views
Programmatically set username/password in the login form in safari mobile and the values set are not being recognized by form submit
I am going to implement password saving/autofill in my react-native-webview. I implemented to save password when user first enter the username/password and then load that credential and assign the ...
0
votes
1
answer
24
views
Detecting whether the device that a JS web script is running on has accelerometers available for devicemotion/deviceorientation access
I'm trying to detect whether a device that's running a webpage JavaScript script in a browser has accelerometer data available for devicemotion and deviceorientation access. This is what I have now:
...
0
votes
0
answers
80
views
Potential CSP issue with Safari only devices and Google Tag Manager
I am running into an issue with a eCommerce website that appears to work fine on desktop and Android browsers, however when loading the site on a Apple based device with Safari it is breaking some ...
1
vote
0
answers
26
views
How to Conditionally Render Mobile and Desktop Ads in Django to Prevent JavaScript Overlap?
I'm working on a Django project where I need to display different ads for mobile and desktop users. Currently, both mobile and desktop ad JavaScript is being loaded, which causes conflicts as the ...
-1
votes
1
answer
92
views
Javascript not working on mobile browser , however works on desktop
I have issue with javascript code not woking in mobile browser (android and ios). However, the same code
Below code basically is trying to fetch user location from ip addrees and then logs to aws ...
0
votes
0
answers
61
views
Mobile Video Play/Pause Toggle Not Working Reliably (SwiperJS Slider)
I'm using Swiper JS to create a slider of TikTok videos on my website. I've implemented a feature where users can click on the video itself to toggle between play and pause. This works perfectly on ...
0
votes
0
answers
37
views
React Native Expo Background Tasks continuously
I am currently developing an app where a user connects a bluetooth Beacon. When the distance (RSSI) gets to low an alarm (playing a loud sound) is triggered.
Now I have a question regarding background ...
0
votes
1
answer
50
views
Can you send a mobile user to their browsers settings to enable location services?
I have a web app using Wix that needs to get the user's geolocation.
Right now, I can detect if this geolocation is off and prompt the user with a guide, depending on whether they are using Android or ...
0
votes
0
answers
38
views
IntersectionObserver rootMargin is ignored on mobile device
I'm using the IntersectionObserver API to load additional content when the page scrolls close to 1000px from the bottom. It works fine on desktop, but on mobile screens, the content only loads when it ...
0
votes
0
answers
56
views
Show on hover javascript working great but how do I add or change to click for mobile?
I have a map where a user can mouse over a number on the map and have an info card pop up. Then when they click on the number it links to the card infos website.
This doesnt work on mobile because ...
1
vote
1
answer
1k
views
(NOBRIDGE) ERROR TypeError: Cannot read property 'install' of null [Component Stack]
I am trying to build a react native app with expo and got stuck here
Iam stuck with this line
"import { InferenceSession, Tensor } from 'onnxruntime-react-native';"
When i removed this line ...
0
votes
0
answers
47
views
How to open a URL in a new tab and redirect the current tab without triggering mobile browser popup blockers?
I'm working on a feature where I send a request to a server and receive a response. The response may or may not include a URL. If a URL is present in the response:
I need to open that URL in a new ...
1
vote
0
answers
67
views
getComputedStyle wrong for placeholder on some mobile devices
This seems like a browser bug to me but I couldn't find anyone else seeing the same problem. It seems like getComputedStyle isn't getting the right font-size for an input placeholder for some mobile ...