Fix the return value for 'behavior' property
The provided value 'null' is not a valid enum value of type ScrollBehavior.
This commit is contained in:
@@ -41,7 +41,7 @@ try {
|
||||
const opts = Object.defineProperty({}, 'behavior', {
|
||||
get: function () {
|
||||
supportsScrollToOptions = true;
|
||||
return null;
|
||||
return 'auto';
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user