@AmirSavand If you are using this as well as bootstrap then the class names clash.
Bootstraps .modal-dialog class has "pointer-events:none" set, which blocks the default behaviour that you are asking about. Override this class with pointer-events:auto and the default is restored
@AmirSavand If you are using this as well as bootstrap then the class names clash. Bootstraps .modal-dialog class has "pointer-events:none" set, which blocks the default behaviour that you are asking about. Override this class with pointer-events:auto and the default is restored