Column Visibility Bug?

Column Visibility Bug?

rfitzwaterrfitzwater Posts: 57Questions: 5Answers: 1

I am using Buttons to hide/show columns. If you take a look at the site, you will see hiding/showing most of the columns work as expected. Some though do not show when clicking the button. "Rm Cap, Glb Cap, Lcl Cap, and some others are the problem columns. Does anyone know if this is a bug or something wrong with my code.

https://ecr.rider.edu/main.php?term=202110

Thanks!

Answers

  • kthorngrenkthorngren Posts: 21,172Questions: 26Answers: 4,923

    I tried your example and it seems to work. I specifically toggled Rm Cap, Glb Cap, Lcl Cap along with some others and didn't experience the column hiding or showing as expected. It is slow but the column visibility did work.

    Is there a particular browser you have problems with. Is there a particular sequence we can try that will show the issue?

    I used Chrome on a Mac.

    Kevin

  • rfitzwaterrfitzwater Posts: 57Questions: 5Answers: 1

    So you are saying Rm Cap, Glb Cap, Lcl Cap all showed when you clicking on their button? That is NOT happening for me. I click the button and the class toggles on the button, but the column is never displayed. I have tried on latest versions of Chrome and Safari on macOS. I've also tried making a browser window wide enough that all of the columns should display, but they don't.

  • rfitzwaterrfitzwater Posts: 57Questions: 5Answers: 1

    The columns that are not showing at all are Rm Cap, Glb Cap, Lcl Cap, Fire Cap and Campus. I might have been staring at he code to notice anything obvious I may have missed. Hoping more eyes helps me fix this.

    Thanks!

  • kthorngrenkthorngren Posts: 21,172Questions: 26Answers: 4,923

    I clicked Rm Cap and the column showed:

    Have you tried a different computer?

    Do you get errors in the browser's console log?

    Kevin

  • rfitzwaterrfitzwater Posts: 57Questions: 5Answers: 1

    So weird. I've now set every column to be hidden so only the first four show in the browser. This leave plenty of space for any column. With only four showing I clicked Rm Cap and it does not appear. No errors or warnings in console.

    I've tried this on every browser on my computer (cleared cache, private browsing mode, etc) as well as my phone and iPad. None of my devices are getting the results you are Kevin.

    I'm at a loss.

  • kthorngrenkthorngren Posts: 21,172Questions: 26Answers: 4,923

    Maybe @allan or @colin can recreate the problem on their devices.

    Kevin

  • colincolin Posts: 15,237Questions: 1Answers: 2,599

    All seems fine to me - Fedora and Chrome: https://www.loom.com/share/cd3d4b5857fd49c7ba52798c3004d572

    Colin

  • rfitzwaterrfitzwater Posts: 57Questions: 5Answers: 1

    I just created a Loom video as well showing my results.

    https://www.loom.com/share/bf823d45fbfc414b881a69ce96e830ae

  • kthorngrenkthorngren Posts: 21,172Questions: 26Answers: 4,923

    In your video it looks like you performed these steps:

    1. Hide Title
    2. Show Title
    3. Hide Title
    4. Hide Instructor
    5. Closed Colvis
    6. Reopened Colvis
    7. Clicked to show Rm Cap but it didn't appear

    I tried the same steps and it worked fine. Too lazy to take a video though :smile:

    Very strange.

    Kevin

  • colincolin Posts: 15,237Questions: 1Answers: 2,599

    I've just reproduced it. I tried on a different computer with the latest Chrome (84.0.4147.89) and that's showing the problem. We'll take a look and report back,

    Colin

  • rfitzwaterrfitzwater Posts: 57Questions: 5Answers: 1

    Thanks Colin. Thought I was going crazy for a few...

  • rfitzwaterrfitzwater Posts: 57Questions: 5Answers: 1

    Colin,

    Any chance you guys have had a chance to look in to this bug?

  • allanallan Posts: 63,213Questions: 1Answers: 10,415 Site admin

    Hi,

    No sorry, I’ve not had a chance to do so yet. I’ll post back here once I have.

    Allan

This discussion has been closed.