re-add the parentEl option & fix how the default case is handled