This happens to me when editing CSS. To reproduce just enable the autocomplete drop down. Go edit a CSS file and write:
font-size: 1
wait for the autocomplete drop down to appear. Now try to insert a number using the numpad. Mine doesn't work. If I insert the number from the top of the keyboard, everything works as expected.