pugson
@pugson
position: fixed; bottom: 0; transform: translateY(calc(env(safe-area-inset-bottom) * -1));
3 replies
0 recast
4 reactions
vincent
@pixel
let me guess: sticky navbar on the bottom
1 reply
0 recast
0 reaction
pugson
@pugson
yep for safari
1 reply
0 recast
0 reaction
timdaub
@timdaub.eth
wait can't this be done much simpler? We had this for kiwi and I didn't have to use such complicated stuff
1 reply
0 recast
0 reaction
pugson
@pugson
depends if you want it smooth or not https://twitter.com/pugson/status/1407667859774394371?s=20
1 reply
0 recast
0 reaction
timdaub
@timdaub.eth
lol what browser is that and why is it creating more problems for web devs, don't we have enough already :D?
1 reply
0 recast
0 reaction
pugson
@pugson
always safari. they changed how the bottom bar looks after the backlash
1 reply
0 recast
0 reaction
timdaub
@timdaub.eth
my god, people need to give web devs a break. we've been lowest tier in the dev food chain for years now & everyone screws us over with "new cool things" but they never improve anything. It's just more bs. Remember when we talked about service workers? How incompetent do you have to be to ship that to 1B devices?
0 reply
0 recast
0 reaction