title: Bootstrap offcanvas prevent closing of offcanvas when you click on datepicker
body: <p>I am having problems with offcanvas menu closing when i use datepicker in form inside menu and click on datepicker button.</p>
  
  <p>I've been busting my head for last 2 days but i can't make a fix for it and everywhere i searched i didn't find solution.</p>
  
  <p>I am using <code>jquery ui</code> and datepicker in combination with bootstrap offcanvas from <code>iamphill</code> </p>
  
  <p><a href="https://github.com/iamphill/Bootstrap-Offcanvas" rel="nofollow noreferrer">https://github.com/iamphill/Bootstrap-Offcanvas</a></p>
  
  <p>I have some inputs in offcanvas menu and datepicker field on one input, and when i open menu and click on any date or previous/next on datepicker, offcanvas menu closes it self.</p>
  
  <p>Code is very long to paste here so i made codepen example </p>
  
  <p><a href="https://codepen.io/lonerunner/full/dapzNX" rel="nofollow noreferrer">https://codepen.io/lonerunner/full/dapzNX</a></p>
  
  <p>If you take a look, you will see small black square in right corner, when you click on square, offcanvas menu will open and on third input field is datepicker, when you click datepicker will open and if you click on next month, offcanvas menu will close.</p>
  
  <p>If anyone have idea how to prevent close i would gladly appreciate it.</p>