Comments (3)
Just wanted to say that I solved this by monkey patching the open function
import { NgxMatDatetimePicker } from '@angular-material-components/datetime-picker';
// ...
const oldOpen = NgxMatDatetimePicker.prototype.open;
NgxMatDatetimePicker.prototype.open = function open() {
new Promise((resolve) => {
setTimeout(resolve, 100);
}).then(() => oldOpen.apply(this, arguments));
};
Once I figure out a less hacky way to make this work in firefox, I will open up a PR.
from angular-material-components.
@BenAychh works fine! Thank you.
from angular-material-components.
I have used the date time picker in a material form field with out toggle button. The calendar is invoked by click and focus event on input entry field.
The calendar works properly in chrome while click on input but it does not works properly in firefox.
In firefox the calendar appears for a moment and disappear.
how do you call the calendar?
from angular-material-components.
Related Issues (20)
- Angular 17 compatibility HOT 14
- [Angular 16] Angular 16.2.1. breaks the styling of the datetimepicker component HOT 2
- more than 2 datetime picker in one page which is load dynamically & Not able to change the format
- [Angular 10] Keyboard navigation broken
- About the ngx-matdate-time-picker
- Switching between the years is very slow on the date picker version 8 HOT 3
- Spinner icons are not loading HOT 2
- Optional HEX Color Input field
- want to have keyboard toggle in dates HOT 1
- ngx-mat-datetime-picker is improperly formatted in angular 16 HOT 3
- Datepicker design breaks Angular 13 HOT 2
- angular upgrade V16 to V17 HOT 1
- No option for language change
- No Arabic digits in the time field
- latest version is not supported with Angular 17. HOT 1
- latest version is not supported with Angular 17 HOT 2
- Time picker only
- Is there problems when i using 16.0.1 in angular V17 project HOT 2
- Angular v18 migration issue HOT 4
- The enter key is not working in my ngx-mat-datetime-picker
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 angular-material-components.