Comments (3)
FYI, I confirmed by setting the data-toggle="dropdown"
to a blank string in the code that it now does not require a second click to open.
{{#bs-dropdown-button class='btn-primary btn-xs' data-toggle=''}}
{{fa-icon 'cog'}} <span class="caret"></span>
{{/bs-dropdown-button}}
from ember-bootstrap.
I cannot see a problem. There is a test app in the addon's repository, that works as expected: https://github.com/kaliber5/ember-bootstrap/blob/master/tests/dummy/app/templates/dropdown.hbs. Also the tests should cover this, so only a single click is needed.
The data-toggle
attribute is not evaluated anywhere in ember-bootstrap, it's just there to emulate the expected markup. Is it possible that some other JS library you have included, maybe even the original bootstrap.js (that should not be used when using ember-bootstrap), is interfering here?
from ember-bootstrap.
Yep, you're exactly right. I was using bootstrap.js before I added this addon. Thanks for the response and I'm sorry for the confusion - I see the note in the readme now where it says no use of bootstrap.js...
from ember-bootstrap.
Related Issues (20)
- Refactor away from computed properties HOT 1
- Refactor away from observers HOT 1
- Remove BrowserStack badge
- Run tests on Safari again HOT 2
- Remove subclassing deprecation message
- Drop RSVP dependency
- Road to TypeScript HOT 16
- Review need of custom CSS HOT 2
- Deprecate Bootstrap CSS, fonts, and theme import
- Deprecate inserting wormhole target HOT 1
- Improve public API for <BsDropdown>
- Bootstrap 5 dropdown direction and menu alignment HOT 5
- BsCarousel indicators are missing `aria-label` attribute.
- BsCarousel customizable controls are not working HOT 1
- Tracking issue: ember-bootstrap 7.0.0
- Deprecate ember-bootstrap blueprints HOT 2
- [6.1.0] {{on 'click'}}, <LinkTo> and <menu.linkTo> in dropdown menus dysfunctional HOT 8
- Test app does not rebuild when doing changes to the library HOT 2
- TypeScript files are published and not transpiled to JavaScript before HOT 5
- Tooltips are positioned too close to triggering element HOT 10
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 ember-bootstrap.