Hidden NavBar reappears when tap occurs ios - ios8

This should be an easy one and I hope that someone could explain it to me.
When I set hidesBarsOnSwipe or navbarhidden it's working very well. The navBar hide but when I press a button or anything else the navbar shows up again.
I understand that it's a "normal behaviour" to not block the navigation experience.
But what if I want the navbar to stay hide and only show on swipe?
Thx

Related

Odd modal behavior with MaterializeCSS in Firefox

I found a really strange behavior when using a Materialize CSS modal in Firefox (66.0.1). It works fine in Chrome (73.0.3683.86) and MS Edge (where do you find the version?). I'm using Windows 10. It does this with the modal demo in the official Materialize CSS website as well.
The problem seems to start if you display a modal with enough content so that it displays a vertical scrollbar. It needs to have links or buttons to see the problem I will describe. You can simulate this by resizing Firefox so that its vertical height is small enough to make the scrollbar appear. Now close the modal. Then resize the height of Firefox so that the modal will appear without scrollbars. Open the modal and hover over a link or button and any hover effect that should happen, does not. Click once on any link or button and nothing happens. Click a second time and it works properly.
And even odder, after opening the first modal with a scrollbar, you can open the second without a scrollbar and do nothing for about 15 seconds and then the links or buttons will work fine.
When this happened, I tried right-clicking on the button to "inspect the element" in the Firefox Inspector. Instead of getting the button, I got the modal overlay element behind it. Note that when this happens, the overlay is not above the button or any of the modal content. It's not a z-index problem. To see whether it was a problem with the overlay, I added an onOpenEnd() function to the modal options that would remove the overlay as soon as the modal opened. I had the same problem. When I tried again to open it in the inspector, I got whatever was behind the button. So it's almost like the modal isn't even there until I click on the modal first or wait for 15 seconds.
I then tried to add some code to the onOpenEnd() function that would give focus to the button, but no effect with that. I tried tabbing to the button, but that didn't work either.
Just before submitting this I found another piece of the puzzle. As I said, hovering over the buttons when this is happening will not show the usual hover pointer. But if I hover above and a bit to the left of the buttons, the cursor does change. When I click there, the color of the buttons does change like it's been clicked, but the action (closing the modal) does not happen. Hmmmmm....
If you want to test this out, go to the Materialize CSS webisite and open the page for modals. (https://materializecss.com/modals.html) Reduce the vertical size of Firefox so that when you open the demo modal it has a vertical scrollbar. Now close the modal. Resize Firefox back to normal vertical height and open the modal again. Hover over the Agree or Disagree buttons and you won't get the pointer cursor. Try click once and nothing happens. Click again and the modal will close. Or wait the 15 seconds and then the buttons work.
Most of my users will have the modal open for more than 15 seconds so it's not a big problem. But sometimes they will open it just to check something and then want to close it. Sure they can click twice, but I'd rather it work properly. Chrome and Edge work fine. Firefox doesn't. Can anyone think of what is causing this and whether there is anything I can do in my code to make it work properly? Thanks.

how to view panel which opens while storyboard is active?

By mistake the panel which appears on left while clicking the storyboard has disappeared. I want to view it again, How can I bring it back on storyboard. I have attached the for clarification. Kindly help we with this.
You can expand (/collapse) it by clicking on the small button in the footerbar (see my screenshot).

How to hidden the border of button in sweetalert2

The border of button appears automatically. How to close it so that it will never appear? Thanks.
The button in sweetalert2
I guess you are talking about the outline of a focused button:
It's possible to remove that outline from buttons, but PLEASE DO NOT DO THAT.
There's a reason for that ugly outline!
You're killing the keyboard accessibility of your app. People with vision disabilities, as well as keyboard-ninjas, will hate you for that.
SweetAlert2 authors were working hard to make that plugin accessible to all users, by removing buttons outline you simply ruin their effort.

Custom button not displaying in Today Extension

I have some custom buttons in my host app that I'd like to use in the Today Extension.
They work just fine in the app but do not display in the widget.
The button on the left is my custom button class, the one on the right is a UIButton. If I change it to my custom class it too disappears.
Any thoughts why this might be happening?
----------------------EDIT------------------------
Well, somehow I managed to get it to display but sometimes it's not drawing the whole button and sometimes it's drawing the button incorrectly.
Any help would be appreciated! Thanks

Jasny off canvas menu reappears when closed

I'm using the jasny offcanvas menu which works well but strangely, when I open and then close the menu, it slides out and then reappears. I assuming this is a z-index issue or maybe an HTML structure problem, but I can't see it.
Current development site is at http://powerdirect.petersenuploads.co.uk/, shrink the window to <768px to see the effect.
What am I missing here?
Many thanks
Pete

Resources