Skip to main content

Posts

Showing posts from October, 2021

Be careful if you are using MaterializeCSS

  If you are using MaterializeCSS  you might want to check if these functions are working properly. 1. Select on iOS The tapped option is not selected. The option before or after is being selected. How to fix:  https://github.com/Dogfalo/materialize/issues/6464 2. Using Modal in SPA: If you are using MaterializeCSS with a SPA framework like Angular. When your modal is open if users click the back button in the browser or use the back key on mobile devices,  your model will not automatically close. How to fix: when a pop event happens close opening modals. import { PlatformLocation } from '@angular/common'; this. platformLocation  .onPopState((event) => {     // close openning modals }); 3. Using Dropdown on iOS It's very hard to choose an item on a dropdown on iOS, I think it's because the dropdown disappears too fast after selecting. How to fix: try to add option outDuration: 500 when init the dropdown. 4.  Preselecting a tab I don't know if ...