-
Notifications
You must be signed in to change notification settings - Fork 559
Open
Labels
bugThis points to a verified bug in the codeThis points to a verified bug in the code
Description
Checklist
- I have looked into the Readme and Examples, and have not found a suitable solution or answer.
- I have searched the issues and have not found a suitable solution or answer.
- I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- I agree to the terms within the Auth0 Code of Conduct.
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 tscor equivalent to typecheck the project
Additional context
No response
Lock version
14.2.4
Which browsers have you tested in?
Other
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugThis points to a verified bug in the codeThis points to a verified bug in the code