Questions tagged [visibility]
Visibility is an attribute of an object. It may refer to the concept of having something visible (or not) on the graphical interface, or a symbol visibility in linkage. This tag should not be used in place of the more specific tags [memory-visibility] or [class-visibility].
visibility
3,194
questions
0
votes
0
answers
12
views
How to keep a hidden element visible after going to another page and returning?
I'm making a birthday card website for my dad. There are five buttons you can click to reveal different popups. Once all the buttons have been clicked, a hidden link to a photo gallery appears. In ...
0
votes
0
answers
30
views
React Component delete button not displaying correctly based on ownership
Problem Description:
I'm encountering an issue in my React application where a delete button should only be visible to the owner of an item, but it's not working as expected. Here's the problem in ...
0
votes
0
answers
295
views
page elements transitioning to visibility when they appear on screen in sveltekit
I have a webpage where I have some buttons that I want to appear as the user scrolls down the page. My problem is effectively two-fold. First of all, as I have shown below, I need to work out when the ...
1
vote
1
answer
41
views
Why is my class not visible outside the file? [closed]
I have 2 PHP files as part of a website. The first one has the API functions (pre made ready to use requests), and the other one has the code itself that will call the functions from the first one.
...
1
vote
1
answer
185
views
The solution on how to wait for element to be visible in Shadow DOM
Currently there is no out of box solution in the Robot Framework libraries on how to wait until the element is visible on the page in shadow DOM. I came up with one approach. Perhaps it will be useful ...
-1
votes
3
answers
306
views
Not able to override default timeout while using explicit wait mechanism in cypress
I am using cypress-wait-until plugin to apply explicit wait in our framework. When I use it and maximum time given is say 30000 milliseconds, so ideally it should wait maximum 300000 ms (30 seconds) ...
0
votes
2
answers
67
views
Visibility widget do not change ui | Flutter
Hi i have myWidget and i pass the focusNode var to it from EditPopUpParent() class, when i am focusing TextField value of focusNode.hasFocus is changing and i can see it by printing it out by ...
0
votes
0
answers
229
views
Apexcharts does not work with style visibility display = ‘none’
I have a simple web application using plain html/css/js (no framework). I have implemented a tabbed pane where the implementation is based on css turning visibility.display on/off.
In one of the panes ...
4
votes
0
answers
114
views
Why does Visual Studio need both `dllimport` and `dllexport` while GCC achieves the same thing with one keyword `visibility("hidden")`?
The following is a common pattern in cross-platform libraries that are compiled as shared libraries with default visibility hidden:
#if defined _WIN32
#ifdef BUILDING_DLL
#define DLL_PUBLIC ...
1
vote
0
answers
76
views
Visibility of an iframe for example H captcha frame through selenium python
So what I want is to detect the visibility of an iframe which is h captcha and so far I can detect the element through find element but when try to do it through EC visibility it isn't able to detect ...
8
votes
1
answer
179
views
Calendar View show/gone inside Recyclerview ViewHolder Issue on Android 8, 9 only
I have a recyclerview with 2 or more viewholders,
1st Viewholder is just top heading banner
2nd vlewholder is for booking widget which has 3 dropdowns/detail menus including CalendarView -- All in ...
1
vote
2
answers
89
views
Hidden button not appearing under specified conditions
I have a small game and when all hearts are lost, a reset button should appear. I can't for the life of me figure out why it's not showing up. I rewrote it 3 times, wondering if it was how I was ...
0
votes
0
answers
33
views
Make icons visible regardless of absolute positioning
I am new to HTML and CSS. I want the black and blue shape to be able to stay inside of the red shape as it is now and the icons to be visible over the red shape.
#leftnav {
background-color: #...
1
vote
2
answers
93
views
Inconsistent behavior of SABT widget when changing scroll direction in Flutter
If I scroll down, the collapsed app bar becomes visible and the first child is also visible. That's good. However, if I suddenly change the scrolling direction to up, even though the app bar is still ...
0
votes
1
answer
356
views
How to strip local symbols with a version script
I am compiling a shared ELF library with GCC using -Wl,--version-script=version.script
MYLIB_1.0 {
global:
the_only_symbol_i_want;
local:
*;
};
This does as advertised; ...
0
votes
1
answer
122
views
How do I use a JDK class that isn't visible to me?
I am new to Java so please bear with me.
I am trying to use the JDK class "com.sun.tools.example.debug.expr.ExpressionParser". When I compile my code, I get the following error: "...
2
votes
0
answers
66
views
Template, visibility, static attribute and shared libraries
The question is about the static attribut of an instanciation of a template class when used by a shared library and by an executable.
The test contains a few classes: PoolObject (the template class), ...
0
votes
1
answer
58
views
Writing to a volatile field and reading another volatile field: Is the happens-before-rule valid?
Question: Is this statement true: „A write to a volatile field happens-before every subsequent read of that or another volatile field.“
On How to understand happens-before consistent I found the ...
0
votes
1
answer
81
views
How to hide one button on click on another button
I have two button one is show and another is hide. When i clicked on
show button that time hide button design should be change and when i
click on hide button when hide button come from old design ...
0
votes
1
answer
176
views
Rust visibility from child module to outside
I'm learning about Rust, and trying to figure out the visibility rules for modules.
I have the following code:
fn x() -> u8 {
5
}
struct Person {
name: String,
}
mod example {
use ...
-1
votes
1
answer
87
views
How to correctly link a C++ library that has different behaviors depending on its compilation?
I have a library called Print and the function println, which mimics printf. If compiled with the directive USE_DEBUG_PRINT, println actually prints something. If compiled without this define, it ...
0
votes
0
answers
61
views
Go Property Visibility & API Design
So I have a LineItem struct that contains a Price property that needs to be exported for SQLx to set the value from the database but the desired value requires logic to be applied to get the value (e....
1
vote
1
answer
208
views
Swift Package's extension property's visibility
When defining a property as an Extension in a Swift Package, if it was created with internal visibility, is it safe to define a property of the same name on the side that uses it? Or could there be ...
0
votes
0
answers
41
views
Android - Why this TextView is moving its position after changing its visibility programmatically?
Initially both TextViews are visible and aligned correctly:
After clicking the Button, I set both TextViews visibility to GONE. Second time I click on the Button, I set the visibility again to ...
0
votes
0
answers
23
views
I read that 'hidden' comps cause issues in IE. What is the safest method to show/hide elements for cross browser compatibility?
I have several components such as tooltips and menus that are not always visible. I read somewhere that visibility = hidden can throw errors in IE but I don't know how accurate that is. If so, for ...
0
votes
2
answers
124
views
Dynamically added Views not visible
I am trying to add TextViews to a LinearLayout wrapped in a ScrollView during runtime, but the visibility of the TextViews will eventually not display on screen even though their visibility flags are ...
0
votes
1
answer
79
views
C++ program symbols visibility issues in libgcc and ld
For this question: version-script and hidden visibility
I saw this comment:
Visibility annotations are preferred to linker scripts as they allow more aggressive optimization by compilers. Scripts are ...
0
votes
2
answers
193
views
How to make sibling div element visible when list item is hovered on
I have the following simple header component with navigation items, which when hovered on should add the following two css rules to the mega-menu div element so that it appears:
visibility: visible;
...
0
votes
0
answers
153
views
What are the visibility rules for package com.sun.tools.javac.code in oracle open jdk version 20?
I am writing a database management program in java in maven in intellij IDEA. For now, the code is only connecting me to the database in MySQL. The code itself has no errors. However, upon running it, ...
0
votes
1
answer
363
views
Hide divi module with advanced custom fields
I hope anyone can help me.
Is there a way to toggle the visibility of a Divi module with ACF in Wordpress?
I tried it myself an searched in forums