Coder Social home page Coder Social logo

Issue with safe area ignored in the floating panel’s controller when navigation bar translucency is turned off about floatingpanel HOT 10 CLOSED

Kohdepitcher avatar Kohdepitcher commented on June 3, 2024
Issue with safe area ignored in the floating panel’s controller when navigation bar translucency is turned off

from floatingpanel.

Comments (10)

Kohdepitcher avatar Kohdepitcher commented on June 3, 2024

After some more trial an error, the issue seems to be with UINavigationController. After I replaced my original embedded navigation controller with a new one, the issue was solved but now if I make my navigation controller's navigation bar translucent disabled, the issue comes back. It seems that changing the translucency of the navigation bar stops the safe area working correctly for the floating drawer.

from floatingpanel.

scenee avatar scenee commented on June 3, 2024

Thank you for your report. I fixed this issue on PR #29.

from floatingpanel.

Kohdepitcher avatar Kohdepitcher commented on June 3, 2024

I've tried to use the this new branch, fix-navigation-bar-problem, in my Podfile but it hasn't fixed this issue. I've gone through the floating panel files in my project and I have noticed that some changes that you have made in the floating panel layout file is not in my floating panel layout file in my app. It's as if CocoaPods is ignoring your latest push to the fix-navigation-bar-problem branch. Ive also tried to replace the floating panel files in my project with the source files in this branch from GitHub and that didn't work as well. Maybe I should try using another branch that is newer?

from floatingpanel.

scenee avatar scenee commented on June 3, 2024

Could you try pod cache clean FloatingPanel --all && pod deintegrate && pod install --repo-update?

from floatingpanel.

Kohdepitcher avatar Kohdepitcher commented on June 3, 2024

Same issue again, I've run that command, tried with translucency off and it still isn't working. its still got the same issue with changes in the branch not showing up in my floating panel files. Strange

from floatingpanel.

scenee avatar scenee commented on June 3, 2024

Hmmm, what's happen on you... I can get the correct code by this Podfile.

platform :ios, '10.0'

target 'FloatingPanelSandbox' do
  use_frameworks!
  pod 'FloatingPanel', :git => "https://github.com/SCENEE/FloatingPanel.git", :branch => "fix-navigation-bar-problem"
end

from floatingpanel.

Kohdepitcher avatar Kohdepitcher commented on June 3, 2024
target 'convertio2' do
  use_frameworks!

  pod "AGCircularPicker"
  pod 'Expression', '~> 0.12'
  pod 'FloatingPanel', :git => 'https://github.com/SCENEE/FloatingPanel.git', :branch => 'fix-navigation-bar-problem'

  target 'convertio2Tests' do
    inherit! :search_paths
   
  end

  target 'convertio2UITests' do
    inherit! :search_paths
    
  end

end

Thats all that I have for my iOS target

from floatingpanel.

scenee avatar scenee commented on June 3, 2024

It looks no problem. How can I help you...? 🤔

from floatingpanel.

Kohdepitcher avatar Kohdepitcher commented on June 3, 2024

Well I don't know what's going on, but I just downloaded the sample project from this branch. it has the all the code from the latest push and I can confirm the translucency issue is fixed in the sample project. I don't think it makes a difference but there are multiple targets in my pod file for the Apple Watch and the watch extension but I don't use the floating panel there. So I have no clue why this is happening. 🤔

from floatingpanel.

scenee avatar scenee commented on June 3, 2024

Thanks for your confirmation, @Kohdepitcher! I merged 'fix-navigation-bar-problem' branch for convenience.
There might be a CocoPods issue, but we're not clear about the cause. If you find something wrong of this library, please let me know 😀

from floatingpanel.

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.