Comments (1)
Another workaround:
I have looked through multiple answers.
[…] setting
maximum-scale=1
inmeta
tag works fine on iOS devices but disables the pinch to zoom functionality on Android devices. […]So I wrote a JS function to dynamically change
meta
tag:
var iOS = navigator.platform && /iPad|iPhone|iPod/.test(navigator.platform);
if (iOS)
document.head.querySelector('meta[name="viewport"]').content = "width=device-width, initial-scale=1, maximum-scale=1";
else
document.head.querySelector('meta[name="viewport"]').content = "width=device-width, initial-scale=1";
Another hack:
OK, I've read through all the old answers but none of them worked for me. After many hours of trying different things the solution seemed simple in the end:
input{
transform: scale(0.875);
transform-origin: left center;
margin-right: -14.28%;
}
Another hack:
[…] In order to not impact the original design fields, including combo, I opted to apply the transformation at the focus of the field:
input[type="text"]:focus, input[type="password"]:focus,
textarea:focus, select:focus {
font-size: 16px;
}
from flowbite.
Related Issues (20)
- Bug: Sidebar Fails to Darken When Right-Side Drawer Opens
- Flowbite Navigation Routing Mistake
- Event object isn't correctly passed to Dropdown.Item click handler
- Uncaught TypeError: Cannot read properties of null (reading 'render') Turbo-rails + Flowbite
- Support the Popover api
- Blazor SSR Flowbite not initializing after navigation HOT 1
- DatePicker does not work in Blazor wasm
- Dropdown close with trigger type hover
- Image Placeholder Should Display Only Image Without Text
- Modal Dialog not showing when navigating back to the same route using Router Outlet (Angular)
- Indeterminate Checkbox should not change on hover if disabled.
- Popover and Tooltip cause overflow (white space in page) when window resize HOT 1
- Datarange picker does not become inline HOT 1
- Modal over Modal, can not be removed appropriately HOT 1
- Two handles on range sladers
- Dropdown Component Not Initializing correctly on Navigation with Angular RouterLink
- [Feature] - make components in other framwroks also not only html HOT 1
- How to use Pause() method to stop slider on Hover in Tailwind CSS Carousel - Flowbite
- Carousel component stops working when navigating back to page in Astro with View Transitions
- Select component > Multiple selection bug HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flowbite.