https://jsbin.com/loculolodo/1/edit?html,css,js,output When you apply "clickOutsideToClose" in the source code, it doesn't work. According to the instruction, it should be working. I believe that it is a bug.