Skip to content

forced to redraw ui component when used with shinyjs #1528

Open

Description

@happyshows

Hi,

I'm seeing a strange behavior when using nested module approach with shinyjs. Please run the minimal example listed in here

Activity

  1. daattali commented on Jan 9, 2017

    @daattali
    Contributor

    I'd like to mention that from what I understand your code is trying to do, this isn't a bug in shinyjs or in shiny. I think what you're seeing is the entire element inside renderUI getting redrawn, which is the correct behaviour, although perhaps not your desired behaviour.

  2. happyshows commented on Jan 9, 2017

    @happyshows
    Author

    @daattali I do not agree on your statement that updating the attribute of element & cause renderUI to redraw is the correct behavior. There's no reactive dependency defined that should cause this.

  3. daattali commented on Jan 9, 2017

    @daattali
    Contributor

    You might be right, I didn't dive deep into your code, it's what I thought from a quick look. Someone from the shiny team can look at your code and see what they think

  4. added
    Needs Repro
    on May 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs Repro

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions