Giter VIP home page Giter VIP logo

Comments (4)

dfeinzimer avatar dfeinzimer commented on August 29, 2024

Ref #209, #210

from arcgis-maps-sdk-swift-toolkit.

mhdostal avatar mhdostal commented on August 29, 2024

@dfeinzimer is this a regression or an iOS 17 thing?

from arcgis-maps-sdk-swift-toolkit.

dfeinzimer avatar dfeinzimer commented on August 29, 2024

is this a regression or an iOS 17 thing?

Regression. We had actually found this last year in #209, fixed it with padding in #210 and then have since regressed it at some point during this release to support forms.

I've found something I've missed in the past. A native sheet will conditionally respect the device's bottom safe area depending on its content. If the content is unmovable (e.g. a button) safe areas are respected. If the content is moveable (e.g. a list) safe areas are ignored and the content flows all the way to the edge of the screen.

Button (Safe Area Respected) List (Safe Area Ignored)
sheet-button sheet-list

I've been researching how to do this but I'm not sure we have the API available to do it.

In the meantime some resolution options would be:

  • A. Apply padding at the example level for compact environments.
  • B. Use a native sheet with background interaction enabled for compact environments (16.4+ only).
  • C. Add a parameter to the floating panel to respect/ignore the safe area.
  • D. Always respect safe areas in the floating panel (lists won't look great).
  • E. Leave as is as known issue.

from arcgis-maps-sdk-swift-toolkit.

dfeinzimer avatar dfeinzimer commented on August 29, 2024

Present support for reflection/inspection of SwiftUI Views via the Mirror API seems rudimentary but if expanded in the future it may be useful for this and possibly #551 as well.

from arcgis-maps-sdk-swift-toolkit.

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.