Code Monkey home page Code Monkey logo

Comments (8)

rushisangani avatar rushisangani commented on May 13, 2024 1

@jahirfiquitiva
Upgrade to the latest version 5.0.3.
You'll get an access for navigationBar -> menu.navigationBar

Note: To modify navigationBar you should use it in willAppear.

menu.onWillAppear = {
 menu.navigationBar =
}

from rsselectionmenu.

rushisangani avatar rushisangani commented on May 13, 2024 1

Give me a few mins, I'll check and update.

from rsselectionmenu.

rushisangani avatar rushisangani commented on May 13, 2024 1

This is only happening in style = Present and selectionMenu.navigationBar?.isTranslucent = false
It's weird..

from rsselectionmenu.

jahirfiquitiva avatar jahirfiquitiva commented on May 13, 2024

Hey @rushisangani

I just implemented this and the navigationBar is now themed properly, but for some reason, a weird margin/space appears between the navigationBar and the searchBar

captura de pantalla 2018-08-21 a la s 11 11 58

from rsselectionmenu.

rushisangani avatar rushisangani commented on May 13, 2024

Could you please share your code?

from rsselectionmenu.

jahirfiquitiva avatar jahirfiquitiva commented on May 13, 2024

Here's the code to change the color:

selectionMenu.onWillAppear = {
	selectionMenu.navigationBar?.isTranslucent = false
	selectionMenu.navigationBar?.backgroundColor = Theme.primaryColor()
	selectionMenu.navigationBar?.barTintColor = Theme.primaryColor()
}

The issue only happens when adding

selectionMenu.navigationBar?.isTranslucent = false

but it is required, or the navigationBar won't really change the color and the initial issue persists

from rsselectionmenu.

jahirfiquitiva avatar jahirfiquitiva commented on May 13, 2024

Thank you so much! 😀 @rushisangani

from rsselectionmenu.

rushisangani avatar rushisangani commented on May 13, 2024

@jahirfiquitiva
Navigation bar blank space issue solved. - Please upgrade to version 5.1.1

from rsselectionmenu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.