BUGFIX: Chrome stopped supporting selections in number fields around v34, so we are trapping that error now and just returning that there is no selection
Adding the Demo from CodePen