Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Does not work with ember-cli-sass

See original GitHub issue

Created a new cli project with the following devDependencies:

  "ember-basic-dropdown": "0.11.0",
  "ember-cli-sass": "5.3.1"

and ember-basic-dropdown is no longer able to calculate the proper coordinates.

The sample usage from the README, for example yields the following:

<div id="ember-basic-dropdown-content-ember383" class="ember-basic-dropdown-content ember-basic-dropdown--transitioning-in  ember-basic-dropdown--below ember-basic-dropdown--left" style="width: 1447px; top: 44px; left: 8px;">
        Content of the dropdown once it appears


Note the style attribute: style="width: 1447px; top: 44px; left: 8px;"

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

cibernoxcommented, Apr 19, 2016

@mellatone I just cloned your repo and everything works ok.

You just need to import the styles in your app.scss adding this line: @import 'ember-basic-dropdown';

cibernoxcommented, Apr 20, 2016

I’ve update the readme with more detailed install instructions. At the beginning this addon was extracted from ember-power-select and I never cared too much about documenting it properly, but since more and more people is using it on its own I should create some basic docs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Open app.scss in Dev Tools (you can use ⌘P and search for "app. · Right click in the Sources panel on the right...
Read more >
Imports not working for ember-cli-sass in my addon
Hi I have an addon which has addon.scss in addon/styles/addon.scss. In my app which tests the addon, I simply have an app.scss.
Read more >
How to use SASS and SCSS in my Ember Project
I am using ember-cli-sass to process SASS files by including an option "extension: 'sass'". It is working absolutely fine.But How can I configure...
Read more >
A SASS compiler plugin focussed on speed over customisability. Initially forked from ember-cli-sass then rewritten taking much inspiration from ...
Read more >
Integrating SASS and Bootstrap to Ember Components
The second step is telling Ember CLI to include Bootstrap resources (CSS, JS, fonts) in the generated output. For this we'll open ember-cli-build.js...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found