Skip to content

Commit

Permalink
Support placement values and modifiers according to popper.js API (#259
Browse files Browse the repository at this point in the history
…) (#260)
  • Loading branch information
tedbeer authored and RobbieTheWagner committed Oct 7, 2018
1 parent b090901 commit e3e95ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function parsePosition(position) {
return null;
}

const positionRe = /^(.+) (top|left|right|bottom|center)$/;
const positionRe = /^(.+) ((auto|top|left|right|bottom)(-start|-end)?)$/;
const matches = positionRe.exec(position);

if (!matches) {
Expand Down

0 comments on commit e3e95ec

Please sign in to comment.