Giter Club home page Giter Club logo

Comments (19)

buh avatar buh commented on May 19, 2024 1

@mpodeszwa ok I’ll think how to fix it

from stream-chat-swift.

buh avatar buh commented on May 19, 2024

Thanks! I'll check.

from stream-chat-swift.

Spenser avatar Spenser commented on May 19, 2024

We are also experiencing this as well

from stream-chat-swift.

buh avatar buh commented on May 19, 2024

Hi guys, it should be fixed in the last release.
Let me know if it still there.

from stream-chat-swift.

mpodeszwa avatar mpodeszwa commented on May 19, 2024

Hi @buh ,
It's almost fixed :) It works if tab bar is translucent, but if this flag is turned off then problem is still there. I rebased my branch, you can check it out https://github.com/mpodeszwa/stream-chat-swift/tree/bugfix/tab-input-offset

from stream-chat-swift.

buh avatar buh commented on May 19, 2024

Fixed in the next version 1.4.0.

from stream-chat-swift.

mpodeszwa avatar mpodeszwa commented on May 19, 2024

Hi @buh ,
I checked out master and unfortunately I don't think it's completely fixed.
This is how chat looks without the tab bar:
without tab
And with the tab bar:
with tab

I was testing on iPhone 11 Pro Max. I rebased my branch again https://github.com/mpodeszwa/stream-chat-swift/tree/bugfix/tab-input-offset 😄

from stream-chat-swift.

mpodeszwa avatar mpodeszwa commented on May 19, 2024

Hi @buh
After fixing #36 this bug reappeared 😭 #36 is now fixed :)

from stream-chat-swift.

mpodeszwa avatar mpodeszwa commented on May 19, 2024

rebased once more https://github.com/mpodeszwa/stream-chat-swift/tree/bugfix/tab-input-offset :D

from stream-chat-swift.

buh avatar buh commented on May 19, 2024

That's weird. Thanks! I'll check

from stream-chat-swift.

buh avatar buh commented on May 19, 2024

@mpodeszwa Do you mean #36 was fixed and #28 was not?

from stream-chat-swift.

mpodeszwa avatar mpodeszwa commented on May 19, 2024

I thought in 1.5.0 #28 was fine and #36 appeared and now in 1.5.1 it's the opposite. To be honest I'm not 100% sure now if #28 was fixed earlier 🤔

from stream-chat-swift.

buh avatar buh commented on May 19, 2024

It was fixed, I used some hack to save additional offset with tabbar height.
But anyway one of our customer has another bug, that I couldn't reproduce and it was really annoying to fix. So, I decide to rewrite the ComposerView position in a new way. It's much more simple and easy to manage. I'm checking why it doesn't work for you.

from stream-chat-swift.

buh avatar buh commented on May 19, 2024

It's fixed v.1.5.3
Your ChatViewController should be embedded properly. The parent view controller at least should have correct safeAreaInsets.

I recommend you to use UIContainerView to embed it properly. Here is my example that works:
Screenshot 2019-11-27 at 15 20 47

from stream-chat-swift.

mpodeszwa avatar mpodeszwa commented on May 19, 2024

Hi @buh
Unfortunately it doesn't work for me. I tried using UIContainerView but it's still the same. Can you check out this branch?
https://github.com/mpodeszwa/stream-chat-swift/tree/bugfix/tab-input-offset

from stream-chat-swift.

buh avatar buh commented on May 19, 2024

Can't make a commit in your fork.
Please update Main.storyboard with this:
Main.storyboard.zip

from stream-chat-swift.

mpodeszwa avatar mpodeszwa commented on May 19, 2024

Thanks for quick response, I downloaded your storyboard and it works, but only with translucent tab bar. If I turn this flag off, the input goes higher :/ I can't really turn on translucent tab bar on my app, because it doesn't go well with our designs :(
Screenshot 2019-11-27 at 19 46 17
Simulator Screen Shot - iPhone 8 Plus (iOS 11 4) - 2019-11-27 at 19 46 37

I checked on iPhone 8 Plus with iOS 11.4

from stream-chat-swift.

buh avatar buh commented on May 19, 2024

Please check master with the fix.

from stream-chat-swift.

mpodeszwa avatar mpodeszwa commented on May 19, 2024

Awesome, works great now :) Thanks 👍

from stream-chat-swift.

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.