You call `getWidth()` to the client width of keyboard element.