Questions tagged [back]
Method or control to return user to previous state, page or screen.
1,468
questions
0
votes
0
answers
7
views
I want to add back option in multiple inquirer list
Below is the code for reference. I want to set a back option for the previous menu or it is possible to set Ctrl + c for the previous menu.
Any help would be appreciated.
Thanks in advance.
Python ...
0
votes
0
answers
9
views
Google Strategy NestJS
I have this issue, I think I've explored all the internet for it, I'm trying to implement an authentification with passport-google-oauth20 in NestJS.
I got an event click from the front then it goes ...
0
votes
0
answers
23
views
backpack upload imagen update
I am working with a load type field, when saving it does it successfully, the problem is when editing something like: image is required, but I do not understand why that error appears if in the type ...
2
votes
0
answers
22
views
How can i use exact functionality for android back button by kivymd
When i long pressing the back button in last screen of my application then all the screen is being back and close my application. I want to release the back key and screen should be back. How can i ...
0
votes
1
answer
27
views
Back button in WebView not working correctly
I want to use the back button of Android to go back into a WebView (it's in a Fragment), so I put up this code in Kotlin:
catWebView.setOnKeyListener { _, keyCode, _ ->
if (keyCode == KeyEvent....
0
votes
1
answer
35
views
How to bind an action to the navigationview back button?
Hi I would like to bind an action to the Back button in the navigationview toolbar, is it possible?
picture about the situation
var body: some View {
List {
ForEach(mainViewModel.items)...
0
votes
1
answer
30
views
How to prevent multiple validations with async requests?
I have a user's item that needs to be validated 10 times (variable value) by other users. And when the item is validated 10 times, the item's owner gets a number of points.
But my problem is, if 400 ...
0
votes
0
answers
64
views
How to temporarily disable back Button/Navigation from Fragment in Kotlin?
I'm trying to temporarily disable the back navigation button in a fragment with Kotlin.
I got the following from StackOverflow...
val onBackPressedCallback = object : OnBackPressedCallback(true){
...
1
vote
0
answers
96
views
this.platform.backButton.subscribeWithPriority not called ionic 5
subscribeWithPriority not called for Ionic 5.
This is app.component.ts function.
initializeApp() {
this.platform.ready().then(() => {
this.statusBar.styleDefault();
this....
0
votes
0
answers
31
views
MVC 5 Prevent Users From Going Back After Logging In or Out Using Identity Framework
I am building an app using MVC 5 and I ran into a common issue that has been asked over and over but I can't seem to find the right answer using .NET Identity. Once the user logs in, they should not ...
1
vote
1
answer
63
views
How can I get the all fields from Prisma class?
I have these two tables in Prisma schema:
model Accounts {
id Int @id @default(autoincrement())
name String @db.VarChar(100)
description String? @db.VarChar(255)
timeZone Int @default(0)
...
0
votes
1
answer
11
views
Flutter - how to handle commands in an application when a user makes use of the phone's built-in back button
I've been building an app that has a back arrow '<-' and cross 'X' in the app bar. Programmatically, I have included various commands, including Navigator.pop(context) and to clear global data ...
0
votes
0
answers
15
views
How to normally back in redirect case
Case 1:
In mypage1: window.open('http://mypage2', '_self');
In mypage2: window.open('http://mypage3', '_self');
Click back: to mypage2
Click back: to mypage1
That's ok.
Case 2:
In mypage1: window.open(...
0
votes
0
answers
11
views
Back icon in android fragments [duplicate]
In my android project written using Android Studio, I added a new Basic Activity. This activity comes by default with two fragments. When run the project, always with the default fragments, in the ...
0
votes
1
answer
134
views
Javascript not executed when go back to previous page, behaves differently between local and live on githubpage, edge and chrome
Please check out this GithubPage where I try to recreate an issue I had.
When you click the first button, it will create a paragraph, append it to a localstorage item and display it.
When you click ...
0
votes
0
answers
55
views
how to add back functionality in youtube converter without adding a menu in python
from os import link
from pytube import YouTube
import youtube_dl
soru = input("MP4 mü MP3 mü yüklemek istiyorsun?: ")
while soru != 'DUR' or soru != 'dur':
if soru == 'MP4' or soru == '...
0
votes
1
answer
191
views
Connecting Spring Boot REST API Backend to Angular Front End
I am trying to connect a Spring Boot Backend to an Angular front end. The application is supposed to ask the user for two numbers via two forms, and then adds them when they click the 'submit' button.
...
-2
votes
1
answer
105
views
Error : Unable to generate an IRI for XXX entity
First of all sorry for my english.
I am trying with API Platform and Symfony to do a POST on my customer entity. (the get works fine)
At the time of doing the POST I find myself with this error :
&...
0
votes
0
answers
64
views
How to Handle Back Button in Flutter once in all project?
How I Handle Back Button from the system once from main.
I know there are a widget call 'WillPopScope' , but it need to wrap every screen in my project what it so hard. i want to handle this action ...
1
vote
1
answer
17
views
VueJs linking elements in object
I have an object "info_login" where I get informations of account :
async created() {
try {
const res = await axios.get(inscriptionURL);
this.comptes = res.data;
this....
0
votes
1
answer
46
views
back button to escape Zxing scanner in MVVM
I've been trying to use zxing library, but I can't get it to work properly.
I created a layout xml, a viewmodel and a fragment because my project is MVVM pattern.
Originally, it shows my layout view. ...
0
votes
1
answer
34
views
How can I do backPress after scanning a code Zxing
I imported zxing library for qr code scanner but it is not working properly.
Its scanning screen is from zxing library so it doesn't require my own layout xml (It shows its own). I just created a xml ...
3
votes
2
answers
180
views
Android-Kotlin- button acting as back button
How do I make an on-screen button act in the same way as a physical/virtual back button? Kotlin, not Java please. I know this is just duplicating a function, but this is precisely my goal here.
I'm ...
0
votes
0
answers
49
views
Why does the "Back" button on the browser trigger the last activated event?
I have 2 webpage, webpage A and webpage B.
What webpage A does
Webpage A have 2 event, Page_Load event and button_click event.
When Page_Load event is triggered it will check if user is logged in or ...
0
votes
1
answer
18
views
Manipulating history of child window
I'm trying to implement following functionality:
Page index.htm opens a new browser's window (e.g. using window.open), where the content of the new window is just pure image, let say page_067.jpg
I'd ...
1
vote
1
answer
118
views
Keeping track of users history in express to make a 'back' button?
I'm making an express app and I want to include a 'back' button in the app UI that does basically exactly what the browser back button does.
I tried holding an array variable in the server that simply ...
0
votes
0
answers
72
views
Firefox serviceWorker fetch event, not working after back
I have a non-SPA site. I'm using a serviceWorker to give it some offline capability.
But when offline in Firefox (both android and desktop versions), when I use the back button to go back from one ...
0
votes
1
answer
110
views
Back From fragment B to Fragment A not working Kotlin
I have two fragments in my Kotlin code.
When I'm pressing some of the buttons then the First fragment will inflate the second fragment.
The second fragment is displayed and all works fine but when I'...
0
votes
1
answer
460
views
postgres add a constraint not null if value is true in another table
I would like to know if it's possible to create table with a not null constraint on a column depending of the value of another column in another table.
(In postgres)
exemple:
CREATE TABLE IF NOT ...
0
votes
1
answer
46
views
Questions about details of the filter back projection
Lately I've been studying the filter back projection, and I download the code from github.com. I was confused the process of the filter back projection. here is part of his code:
def backproject(...
0
votes
1
answer
54
views
Perform an action on press of back arrow in navigation ui
I am using the navigation ui with single activity. In a particular fragment, I would like to perform an action when the arrow key on the toolbar is clicked. The toolbar currently works (takes user ...
0
votes
1
answer
119
views
How to add forward back and refresh buttons for webviews in Electronjs?
I am displaying multiple webview contents using Electron Js.
part of index.html
<div class="contentArea">
<div id="mySidebar" class="leftMenu">
...
0
votes
3
answers
150
views
Is there a way to loop back to the beginning of a certain part of the code in python
I was writting a script to check if the lenght of an input word is equal to a certain number, and if not loop back again to the the input question.
I used the following code,
x=input("input a ...
0
votes
1
answer
82
views
How to go back to android home screen in react native
Here I don't mean the home screen of my navigator..I actually wanted to create a button which takes me to the home screen of my android device. How can i achieve this in react native?
0
votes
0
answers
7
views
Preserving Page State / Query and returning to it after a subpage visit
I have a site [video browser] that loads videos via search query into page dynamically. This search query is held by a Javascript object and POSTs to backend server endpoint, which then returns the ...
0
votes
0
answers
19
views
how to check if it came to previous fragment via pressing back button
I am using fragments 1,2,3 and 4. I go from fragment 1 to 2 and 2 to 3 and the same way 3 to 4. Now I want that if I am on fragment 4 and from fragment 4, if I press back button, then I should be ...
0
votes
0
answers
181
views
Swipe back in iOS webview flutter
in my Flutter app, I use web view. For android, I use willpopscope so when someone presses the back button review page will pop to its previous state.
But in iOS willpopscope is not working, I have ...
0
votes
1
answer
96
views
Laravel : How ro return back to post route from get route
I have page that i reach it from post route :
Route::post('/daily', [App\Http\Controllers\AdminController::class, 'daily'])->name('daily');
in this page i have icon which have action of update ...
1
vote
1
answer
452
views
React redux: how to clear the redux store state on back button press
I am using react redux combination with following structure:
<div>
// Material ui autocomplete component which sets value in redux store
<Switch>
<Route exact path="/abc"...
0
votes
1
answer
24
views
How to avoid user getting back to a php page
I created a form where a user (not logged in) first of all registers his access in a building with the access' timestamp, then when he leaves he submits again his informations, the form shows him his ...
0
votes
1
answer
196
views
ASP.NET Core MVC : I can't prevent back button
I am working with ASP.NET Core 2.2 MVC.
I try this code in JavaScript:
window.history.forward(1);
but it did not work. I want to stop back button after logout.
Please help me
0
votes
0
answers
91
views
Close bootstrap modals using phone's back button one by one
I have the following code that I found here https://stackoverflow.com/a/60187153/16383273
function handleBackPress(event) {
event.preventDefault();
event.stopPropagation();
$('.modal').modal('...
-3
votes
1
answer
48
views
iOS random problem of navigation, buttons not reacting for tap each time
I have noticed a problem with the navigation in our app.
Back buttons on UINavigationController for dismiss a viewController, or ok button for dismiss keyboard not reacting on tap each time. I have to ...
0
votes
0
answers
325
views
React Native 0.65 Navigation with stack screen and drawer very slow
When you navigated to the previous screen the previous screen is locked.
It doesn't work for me on android. On ios it works perfectly. I am using rn 0.65 I do not understand why it does not work. ...
0
votes
1
answer
73
views
React Router and browser back button
I have a Router Switch that includes these Routes:
<Route exact path={['/', '/gg/']}><Spinner /></Route>
<Route path={['/error', '/gg/error']} render={() => <Error />} /&...
0
votes
0
answers
8
views
How to solve alternating tabs when I press double click quickly?
I have a problem in which the tab (no matter what browser) alternates, mostly returning to speed deal, when I press double click. I have keyboard shortcuts turned off and this happens in all browsers. ...
0
votes
0
answers
37
views
HTML CSS & JAVASCRIPT Doesn't Work as Coded When Returning to a Page After Pressing the Back Arrow Button on the Browser
The HTML, CSS, and JAVASCRIPT all work as I would like them to. That is until I return to the same page after pressing the back arrow on my browser (I'm currently using Google chrome). For example: ...
0
votes
1
answer
32
views
How to get 2 highest values from Laravel array of objects with different indexes
I need to take an object with 4 different fields and keep only the 2 with the highest values. How can I achieve that? I'm new to Laravel, and with JavaScript, I handled it, but I can't find a better ...
1
vote
1
answer
409
views
Get previous url in laravel
I am trying to get previous url in laravel, I have tried this code,
echo redirect()->back()->getTargetUrl();
die();
when i simply echo this code, This correctly returns the url, ...
0
votes
0
answers
55
views
Overide the react native navigation BackHandler globally?
I'm using expo and react navigation.
I'm trying to overide the android device back button but is seems that the overide is overided at each navigation...
Let me explain, I've handle the BackHandler at ...