codeuino / codeuino/social-platform-donut-frontend

[BUG] Maintenance mode toggler not working as expected

Open
#650 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
208
Forks
220
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
The Maintenance mode toggler in Org Settings isn't working as expected.

**Steps to Reproduce**
Steps to reproduce the behavior:
1. Go to 'Org Settings as Admin'
2. Click on 'Maintenance'
3. Click on ON/OFF toggler
4. Once try to click away while once clicking on the cancel button.

**Expected behavior**
It should not change to ON even if Yes was not pressed.

**Screenshots**
![ezgif com-gif-maker](https://user-images.githubusercontent.com/17141301/96338951-0d191180-10af-11eb-89c7-40df7cbff558.gif)

**Desktop (please complete the following information):**
- OS: Ubuntu 20.04
- Browser: Chrome
- Version: Version 85.0.4183.83 (Official Build) (64-bit)

**Additional context**
Checking how the click away listeners work may help to find the cause.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.