Checklist
Description
The forceAutoHeight configuration option is mentioned in examples and past merged PRs. However, it's not listed in the documentation page nor in the generated Auth0LockConstructorOptions.
This flag still behaves correctly when passed, but when using typescript results in the following build error:
Object literal may only specify known properties, and 'forceAutoHeight' does not exist in type 'Auth0LockConstructorOptions'.ts(2353)
While this issue can be worked around with manual css overrides, I would still appreciate the option to use the flag.
Reproduction
- Install auth-lock 14.2.4
- Install typescript
- Configure lock within a typescript file with the following config:
const lock = new Auth0Lock("{clientID}", "{domain}", {
forceAutoHeight: true,
container: "lock-container",
});
- Run
npm run tsc or equivalent to typecheck the project
Additional context
No response
Lock version
14.2.4
Which browsers have you tested in?
Other
Checklist
Description
The
forceAutoHeightconfiguration option is mentioned in examples and past merged PRs. However, it's not listed in the documentation page nor in the generatedAuth0LockConstructorOptions.This flag still behaves correctly when passed, but when using typescript results in the following build error:
While this issue can be worked around with manual css overrides, I would still appreciate the option to use the flag.
Reproduction
npm run tscor equivalent to typecheck the projectAdditional context
No response
Lock version
14.2.4
Which browsers have you tested in?
Other