Comments (4)
hi @jkirsch , you have a codepen or something else to show the issue?
regards
Mauro
from ionic-modal-select.
Well currently not - I'll look into providing one.
It feels like some race condition on modal dispose - as I can only trigger it sometimes on an Android Phone - never in the browser.
The modal-open class has a pointer-events: none
entry thus disregards all touch events
from ionic-modal-select.
Okay,
I think I found the mistake
I declared the modal in the following way
<div class="item item-button-right" ng-click="forward('selectButton')">
Description:
<button class="button button-clear button-dark ion-android-arrow-dropdown"
id="selectButton" modal-select ng-model="mydata" options="::values">
<div class="option">
{{option}}
</div>
</button>
</div>
As I wanted to have the entire row clickable .. I resorted to a simple click forwarding
angular.element(document.getElementById(elementname)).triggerHandler('click');
But If one now clicked on the button .. actually the modal is triggered twice .. this creates two instances that are conflicting .. leading to sometimes the case of an unhidden modal.
Obviously just moving the modal select up to the parent div fixed everything.
Sorry for the confusion .. so this is a non issue
For reference better solution
<div class="item item-button-right" modal-select ng-model="mydata" options="::values">
Description:
<button class="button button-clear button-dark ion-android-arrow-dropdown"></button>
<div class="option">
{{option}}
</div>
</div>
from ionic-modal-select.
@jkirsch thanks for reporting anyway, and for your reference solution
from ionic-modal-select.
Related Issues (20)
- How can i open the model from controller?
- Bug in Search HOT 4
- enableBackdropDismiss
- Divider
- ionic1: item is selected but is not show the selected item
- I have an ionic popover with a form. In that form i want to use ionic model select for country selection.But when i open the ionic model select it apears behind the ionic popover back drop,Is there any solution? HOT 1
- Ionic model select on ionic popover HOT 2
- ReferenceError: require is not defined HOT 4
- Manual unselect
- Text of Ok button is setted hardcoded HOT 2
- Change default modal template? HOT 3
- Display element of its choice belonging to the ng-model
- Image selection
- Error: [$parse:syntax] Syntax Error: Token ':' not a primary expression at column 1 of the expression HOT 1
- Call Reset Function Outside of Modal HOT 3
- no cancel callback ?
- Select All button for multiple selection
- This plugin still working in IONIC 3? HOT 1
- Error: collection-repeat tried to compute the height of repeated elements HOT 4
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 ionic-modal-select.