question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How can I hide a View

See original GitHub issue

Is there a way to hide view and save the current state of the view? I tried

this.ref.element.setNativeProps({
    hidden: true
});

but failed. Is it possible to expose native components hidden` property. It would be great if there is a way to hide the element and save its state.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:1
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

16reactions
JohnyDayscommented, May 26, 2015

If you need measurements for said view set opacity to 0 instead of height

3reactions
tigerraj32commented, Jun 27, 2016

please refer to this answer in stack overflow hide show component

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to hide a View programmatically? - java
You can call view.setVisibility(View.GONE) if you want to remove it from the layout. Or view.setVisibility(View.INVISIBLE) if you just want to hide it.
Read more >
Choosing the right way to hide a view — SwiftUI Concepts ...
Choosing the right way to hide a view. Control whether a view exists, and how that affects the overall layout. If your design...
Read more >
Reveal or hide a view using animation
The ViewAnimationUtils.createCircularReveal() method enables you to animate a clipping circle to reveal or hide a view. This animation is ...
Read more >
How to Show and Hide a View with a Slide Up and Down ...
In this article, we will take a look at how to show and hide a view in an Android Application. We have to...
Read more >
Hide the View button in Inline REF_ROW
The option you have is to make the View localization to "" (blank) based on the view you want it to be hidden....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found