ARTICLE AD BOX
I am trying to add a builtin datepicker (i.e. <input type="date">) to a Mozilla web extension (which is based on html/css/js) but the calendar does not popup.
The code below (stripped off extra css and js) does not popup the calendar if it is part of a web-extension (but it does popup the calendar if you just open it as html in a browser):
<!DOCTYPE html> <html lang="en"> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>bingo</title> </head> <body> <!-- make it extra wide --> <h1>bingo bingo bingo bingo</h1> <b>From</b>: <input type="date" id="date-picker-from" max="2030-12-12"> <!-- make it extra long --> <h1>bingo</h1> <h1>bingo</h1> <h1>bingo</h1> <h1>bingo</h1> <h1>bingo</h1> <h1>bingo</h1> <h1>bingo</h1> <h1>bingo</h1> </body> </html>Edit: Just to clarify: a web-extension is shown as an icon in the addons/extensions/plugins area of the FF UI. When the icon of my extension is clicked a menu is presented. This menu contains the html above and the <input type="date"> element, alas, without the calendar popping up when clicked.
btw, I am using FF 145.0
