meta-magic / amexio.github.io

Amexio is a rich set of Angular 7 (170+) components powered by HTML5 & CSS3 for Responsive Design and with 80+ Material Design Themes, UI Components, Charts, Gauges, Data Point Widgets, Dashboards. Amexio is completely Open Sourced and Free. It's based on Apache 2 License. You can use it in your production grade work today at no cost or no obligation.
http://www.amexio.tech
Apache License 2.0
167 stars 72 forks source link

Dropdown Event Triggers Fails inside Modals #8

Closed luyouxin84 closed 7 years ago

luyouxin84 commented 7 years ago

ratio and dropdown have css problem in amexio-window-pane dropdown cant select, click event is not work

pratikthecook commented 7 years ago

Please provide your usage source code

luyouxin84 commented 7 years ago

i have try again.. i had use bootstrap4 origine dropdown , it not work too. it look like bootstrape4 dropdown not work good in amexio-window-pane..

my code:

<amexio-window-pane [(showWindow)]="edit_condition_dispaly" [title]="'Employee Registration'" [closable]="true">


例外时间

{{obj_edit.not_start}}

{{obj_edit.not_end}}

开始的时间: 结束的时间:
<amexio-pane-action>
  <div style="float: right;">
    <amexio-btn [label]="'提交'" [type]="'primary'" (click)="update_condition()"></amexio-btn>
  </div>
</amexio-pane-action>

luyouxin84 commented 7 years ago

i find solution 👍 u must use dropdown with <button > as menu , it work find in window-pane. Not use <a> as menu example in bootstrape 4 site. https://v4-alpha.getbootstrap.com/components/dropdowns/#menu-items

code example: `<amexio-window-pane [(showWindow)]="edit_condition_dispaly" [title]="'Employee Registration'" [closable]="true">

`
pratikthecook commented 7 years ago

Thankyou @luyouxin84 for reporting and providing a workaround, as you have mentioned this is indeed a bug not from our side but from the bootstrap team itself here's the link to the issue Issue. As you can see the bootstrap is in alpha stages, we expect they would resolve it soon. Till Then we would implement a workaround.

pratikthecook commented 7 years ago

Resolved