Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Basic Dropdown Positioning
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
body {
margin: 12px 16px;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 12pt;
overflow-y: hidden
.test-dropdown-content {
border: 1px solid #ccc;
border-radius: 2px;
padding: 10px;
line-height: 20px;
.ember-application {
overflow-y: hidden;
<h1>Test Dropdown Position</h1>
<div class="page-wrapper">
{{#basic-dropdown as |dd|}}
Click me
{{#dd.content class="test-dropdown-content"}}
<p>line number 1</p>
<p>line number 2</p>
<p>line number 3</p>
<p>line number 4</p>
<p>line number 5</p>
<p>line number 6</p>
<p>line number 7</p>
<p>line number 8</p>
"version": "0.15.1",
"EmberENV": {
"options": {
"use_pods": false,
"enable-testing": false
"dependencies": {
"jquery": "",
"ember": "3.4.3",
"ember-template-compiler": "3.4.3",
"ember-testing": "3.4.3"
"addons": {
"ember-basic-dropdown": "0.34.0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment